Fri, 05 Feb 2010 14:32:20 +0000
prosody: Initialize logging before checking dependencies (fixes another traceback with no LuaSec)
prosody | file | annotate | diff | comparison | revisions |
--- a/prosody Fri Feb 05 14:31:25 2010 +0000 +++ b/prosody Fri Feb 05 14:32:20 2010 +0000 @@ -32,6 +32,9 @@ 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 @@ end function load_libraries() - -- Initialize logging - require "core.loggingmanager" - -- Load socket framework server = require "net.server" end