Changeset

612:0d44fc0a78f8

Add commented line to disable logging entirely
author Matthew Wild <mwild1@gmail.com>
date Wed, 10 Dec 2008 15:29:14 +0000
parents 611:7bb91fcddaf8
children 613:6c09127b50fb
files prosody
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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?