From 97a34d61990ca05490dfdf5dfe41276790256657 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 14 Apr 2018 15:23:08 +0200 Subject: util.startup: Force console logging before initializing logging (see 2fdeb979cc7c) --- util/startup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/startup.lua b/util/startup.lua index d1c2f00c..064a40e5 100644 --- a/util/startup.lua +++ b/util/startup.lua @@ -505,6 +505,7 @@ end function startup.prosodyctl() startup.init_global_state(); startup.read_config(); + startup.force_console_logging(); startup.init_logging(); startup.setup_plugindir(); startup.setup_datadir(); @@ -512,7 +513,6 @@ function startup.prosodyctl() startup.read_version(); startup.switch_user(); startup.check_dependencies(); - startup.force_console_logging(); startup.log_dependency_warnings(); startup.check_unwriteable(); startup.load_libraries(); -- cgit v1.2.3