Skip to content

Commit

Permalink
Add commented line to disable logging entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
mwild1 committed Dec 10, 2008
1 parent d0c245d commit 09559a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions prosody
Expand Up @@ -18,8 +18,6 @@
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
--



-- Config here --

CFG_SOURCEDIR=nil;
Expand Down Expand Up @@ -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?
Expand Down

0 comments on commit 09559a6

Please sign in to comment.