diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-14 15:23:08 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-14 15:23:08 +0200 |
commit | b37d44f5022c59c84b88e6a0b6507720015325e8 (patch) | |
tree | 12afdaf8dfa481307f3871af2fe4c4330e621bfa /util/startup.lua | |
parent | 4103947f8ad91c618c5273fbc4d3530a909d15af (diff) | |
download | prosody-b37d44f5022c59c84b88e6a0b6507720015325e8.tar.gz prosody-b37d44f5022c59c84b88e6a0b6507720015325e8.zip |
util.startup: Force console logging before initializing logging (see 2fdeb979cc7c)
Diffstat (limited to 'util/startup.lua')
-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 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(); |