util.logger: Small code tidying :)
[prosody.git] / prosody
diff --git a/prosody b/prosody
index 15c94c92f5404304828f820c7f612807eb82b239..0e38c6c2d988c768f67c2b9e6600d7484febfa2a 100755 (executable)
--- a/prosody
+++ b/prosody
@@ -32,10 +32,6 @@ 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
@@ -63,6 +59,11 @@ do
        end
 end
 
+log = require "util.logger".init("general");
+
+-- Disable log output, needs to read from config
+-- require "util.logger".setwriter(function () end);
+
 require "util.dependencies"
 
 local server = require "net.server"