# HG changeset patch # User Kim Alvefur # Date 1522942860 -7200 # Node ID 0cb84aafeee6547940fa9ee3818651c1890a7438 # Parent c23cdeac5b616b724e4cc1f689aafae93a9a9889 util.startup: Initialize logging earlier, so that messages from eg net.server are shown diff -r c23cdeac5b61 -r 0cb84aafeee6 util/startup.lua --- a/util/startup.lua Thu Mar 29 20:51:16 2018 +0200 +++ b/util/startup.lua Thu Apr 05 17:41:00 2018 +0200 @@ -521,10 +521,10 @@ 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();