Merge pull request #1080

423776f daemon: log version when starting (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2016-09-17 07:48:46 +02:00
commit a1e6fb8243
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -280,6 +280,9 @@ int main(int argc, char const * argv[])
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));
// 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.");
return daemonizer::daemonize(argc, argv, daemonize::t_executor{}, vm);