Software /
code /
prosody
Comparison
util/startup.lua @ 8755:857d8f38a010
util.startup: Force console logging before initializing logging (see 2fdeb979cc7c)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 14 Apr 2018 15:23:08 +0200 |
parent | 8748:2fdeb979cc7c |
child | 8756:2db9c9e3adc1 |
comparison
equal
deleted
inserted
replaced
8754:ca40f9a5751a | 8755:857d8f38a010 |
---|---|
503 | 503 |
504 -- prosodyctl only | 504 -- prosodyctl only |
505 function startup.prosodyctl() | 505 function startup.prosodyctl() |
506 startup.init_global_state(); | 506 startup.init_global_state(); |
507 startup.read_config(); | 507 startup.read_config(); |
508 startup.force_console_logging(); | |
508 startup.init_logging(); | 509 startup.init_logging(); |
509 startup.setup_plugindir(); | 510 startup.setup_plugindir(); |
510 startup.setup_datadir(); | 511 startup.setup_datadir(); |
511 startup.chdir(); | 512 startup.chdir(); |
512 startup.read_version(); | 513 startup.read_version(); |
513 startup.switch_user(); | 514 startup.switch_user(); |
514 startup.check_dependencies(); | 515 startup.check_dependencies(); |
515 startup.force_console_logging(); | |
516 startup.log_dependency_warnings(); | 516 startup.log_dependency_warnings(); |
517 startup.check_unwriteable(); | 517 startup.check_unwriteable(); |
518 startup.load_libraries(); | 518 startup.load_libraries(); |
519 startup.init_http_client(); | 519 startup.init_http_client(); |
520 startup.make_dummy_hosts(); | 520 startup.make_dummy_hosts(); |