daemon: log version when starting
Helps with investigating bug reports
This commit is contained in:
parent
e06530e2d9
commit
423776f9b1
1 changed files with 3 additions and 0 deletions
|
@ -280,6 +280,9 @@ int main(int argc, char const * argv[])
|
||||||
if (command_line::has_arg(vm, daemon_args::arg_max_concurrency))
|
if (command_line::has_arg(vm, daemon_args::arg_max_concurrency))
|
||||||
tools::set_max_concurrency(command_line::get_arg(vm, daemon_args::arg_max_concurrency));
|
tools::set_max_concurrency(command_line::get_arg(vm, daemon_args::arg_max_concurrency));
|
||||||
|
|
||||||
|
// logging is now set up
|
||||||
|
LOG_PRINT_L0("Monero '" << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL << ")");
|
||||||
|
|
||||||
_note_c("dbg/main", "Moving from main() into the daemonize now.");
|
_note_c("dbg/main", "Moving from main() into the daemonize now.");
|
||||||
|
|
||||||
return daemonizer::daemonize(argc, argv, daemonize::t_executor{}, vm);
|
return daemonizer::daemonize(argc, argv, daemonize::t_executor{}, vm);
|
||||||
|
|
Loading…
Reference in a new issue