util.startup: Initialize logging earlier, so that messages from eg net.server are shown
--- 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();