diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-10 15:29:14 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-10 15:29:14 +0000 |
commit | 2ad1dbfa75b21cdab3fa200a641d1e2848e71df0 (patch) | |
tree | 35e0a42fafeff9c1f0da37c0cf2afe6f8daca377 /prosody | |
parent | fab808b050f2aff4fff6f9b565d8ab5279bf7cca (diff) | |
download | prosody-2ad1dbfa75b21cdab3fa200a641d1e2848e71df0.tar.gz prosody-2ad1dbfa75b21cdab3fa200a641d1e2848e71df0.zip |
Add commented line to disable logging entirely
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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? |