aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprosody6
1 files changed, 3 insertions, 3 deletions
diff --git a/prosody b/prosody
index 9d0054c5..19bdfeb1 100755
--- a/prosody
+++ b/prosody
@@ -32,6 +32,9 @@ if CFG_DATADIR then
end
end
+-- Initialize logging
+require "core.loggingmanager"
+
-- Check runtime dependencies
if not require "util.dependencies".check_dependencies() then
os.exit(1);
@@ -112,9 +115,6 @@ function read_config()
end
function load_libraries()
- -- Initialize logging
- require "core.loggingmanager"
-
-- Load socket framework
server = require "net.server"
end