diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-09-16 20:47:52 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-09-16 20:47:52 +0100 |
commit | 423776f9b166606c1fec32908ddeb42badd4b4e7 (patch) | |
tree | 9f143528c7c65ac3e5cf2809326ceec5b64621ff /src/daemon/main.cpp | |
parent | Merge pull request #1077 (diff) | |
download | monero-423776f9b166606c1fec32908ddeb42badd4b4e7.tar.xz |
daemon: log version when starting
Helps with investigating bug reports
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r-- | src/daemon/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 2e8953af9..93027a5d6 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -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); |