Changeset

8719:0cb84aafeee6

util.startup: Initialize logging earlier, so that messages from eg net.server are shown
author Kim Alvefur <zash@zash.se>
date Thu, 05 Apr 2018 17:41:00 +0200 (2018-04-05)
parents 8718:c23cdeac5b61
children 8720:dba17a70fd22
files util/startup.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();