aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
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();