Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add commented line to disable logging entirely

  • Loading branch information...
commit 09559a6d733ee8e5d2c91f3085bf06615b302fd9 1 parent d0c245d
@mwild1 mwild1 authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 prosody
View
5 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?
Please sign in to comment.
Something went wrong with that request. Please try again.