From 9e179c8aa7656cfe910666c4e3fb43fbda4c7326 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 5 Feb 2010 14:32:20 +0000 Subject: prosody: Initialize logging before checking dependencies (fixes another traceback with no LuaSec) --- prosody | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prosody') 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 -- cgit v1.2.3