# HG changeset patch # User Matthew Wild # Date 1265380340 0 # Node ID a0d22b6a314495fa617d5caeb45fcd4174a6c673 # Parent 6b4fe320a6ea037ffe44377b3e79eea1be002166 prosody: Initialize logging before checking dependencies (fixes another traceback with no LuaSec) diff -r 6b4fe320a6ea -r a0d22b6a3144 prosody --- 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