# HG changeset patch # User Matthew Wild # Date 1228922954 0 # Node ID 0d44fc0a78f80b1cb74bb3c49dcef7b4662384d5 # Parent 7bb91fcddaf8991db5e40bfa9343ae35a7f039cf Add commented line to disable logging entirely diff -r 7bb91fcddaf8 -r 0d44fc0a78f8 prosody --- a/prosody Wed Dec 10 15:27:01 2008 +0000 +++ b/prosody Wed Dec 10 15:29:14 2008 +0000 @@ -18,8 +18,6 @@ -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -- - - -- Config here -- CFG_SOURCEDIR=nil; @@ -47,6 +45,9 @@ config = require "core.configmanager" log = require "util.logger".init("general"); +-- Disable log output, needs to read from config +-- require "util.logger".setwriter(function () end); + do -- TODO: Check for other formats when we add support for them -- Use lfs? Make a new conf/ dir?