Comparison

util/startup.lua @ 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
parent 8715:25d8d6091ec3
child 8720:dba17a70fd22
comparison
equal deleted inserted replaced
8718:c23cdeac5b61 8719:0cb84aafeee6
519 startup.read_config(); 519 startup.read_config();
520 startup.sanity_check(); 520 startup.sanity_check();
521 startup.sandbox_require(); 521 startup.sandbox_require();
522 startup.set_function_metatable(); 522 startup.set_function_metatable();
523 startup.check_dependencies(); 523 startup.check_dependencies();
524 startup.init_logging();
524 startup.load_libraries(); 525 startup.load_libraries();
525 startup.setup_plugindir(); 526 startup.setup_plugindir();
526 startup.setup_datadir(); 527 startup.setup_datadir();
527 startup.init_logging();
528 startup.chdir(); 528 startup.chdir();
529 startup.add_global_prosody_functions(); 529 startup.add_global_prosody_functions();
530 startup.read_version(); 530 startup.read_version();
531 startup.log_greeting(); 531 startup.log_greeting();
532 startup.log_dependency_warnings(); 532 startup.log_dependency_warnings();