Diff

prosody @ 2565:a0d22b6a3144

prosody: Initialize logging before checking dependencies (fixes another traceback with no LuaSec)
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Feb 2010 14:32:20 +0000
parent 2553:c3afa1e02e8f
child 2567:ca6ee2dac8d6
line wrap: on
line diff
--- 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