aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-05 14:32:20 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-05 14:32:20 +0000
commit9e179c8aa7656cfe910666c4e3fb43fbda4c7326 (patch)
tree72e1226f94e5569a7f18e7ebaf4ae6d20de2342a /prosody
parentefae77c4933e6dac45c51c162d70b2de26220191 (diff)
downloadprosody-9e179c8aa7656cfe910666c4e3fb43fbda4c7326.tar.gz
prosody-9e179c8aa7656cfe910666c4e3fb43fbda4c7326.zip
prosody: Initialize logging before checking dependencies (fixes another traceback with no LuaSec)
Diffstat (limited to 'prosody')
-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