From 17a37702929338112136521220a431bf95ab0e45 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 5 Apr 2018 17:41:00 +0200 Subject: util.startup: Initialize logging earlier, so that messages from eg net.server are shown --- util/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/startup.lua') diff --git a/util/startup.lua b/util/startup.lua index aa277739..721af49e 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -521,10 +521,10 @@ function startup.prosody() startup.sandbox_require(); startup.set_function_metatable(); startup.check_dependencies(); + startup.init_logging(); startup.load_libraries(); startup.setup_plugindir(); startup.setup_datadir(); - startup.init_logging(); startup.chdir(); startup.add_global_prosody_functions(); startup.read_version(); -- cgit v1.2.3