Add commented line to disable logging entirely

Wed, 10 Dec 2008 15:29:14 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 10 Dec 2008 15:29:14 +0000
changeset 612
0d44fc0a78f8
parent 611
7bb91fcddaf8
child 613
6c09127b50fb

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?

mercurial