diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-05 17:41:00 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-05 17:41:00 +0200 |
commit | 7d46eacc39c7b44e44faee2d7aed7797cefd4a2b (patch) | |
tree | a942790e3830cc49b8e10ad19702f421730da73c /util | |
parent | 56a62e6457e76358c09d3412779ffa47d83c3487 (diff) | |
download | prosody-7d46eacc39c7b44e44faee2d7aed7797cefd4a2b.tar.gz prosody-7d46eacc39c7b44e44faee2d7aed7797cefd4a2b.zip |
util.startup: Initialize logging earlier, so that messages from eg net.server are shown
Diffstat (limited to 'util')
-rw-r--r-- | util/startup.lua | 2 |
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(); |