Wed, 10 Dec 2008 15:29:14 +0000
Add commented line to disable logging entirely
prosody | file | annotate | diff | comparison | revisions |
--- 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?