aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-10 15:29:14 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-10 15:29:14 +0000
commit2ad1dbfa75b21cdab3fa200a641d1e2848e71df0 (patch)
tree35e0a42fafeff9c1f0da37c0cf2afe6f8daca377 /prosody
parentfab808b050f2aff4fff6f9b565d8ab5279bf7cca (diff)
downloadprosody-2ad1dbfa75b21cdab3fa200a641d1e2848e71df0.tar.gz
prosody-2ad1dbfa75b21cdab3fa200a641d1e2848e71df0.zip
Add commented line to disable logging entirely
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody5
1 files changed, 3 insertions, 2 deletions
diff --git a/prosody b/prosody
index cce5ba83..cbbdb6d4 100755
--- a/prosody
+++ b/prosody
@@ -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 @@ pcall(require, "luarocks.require")
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?