aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-17 07:48:46 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-17 07:48:46 +0200
commita1e6fb82438b0f4e9ca197b5f84cafd8930c4305 (patch)
tree5e6c777d6b62b9c884cd66f082d944c649446d8b
parentMerge pull request #1079 (diff)
parentdaemon: log version when starting (diff)
downloadmonero-a1e6fb82438b0f4e9ca197b5f84cafd8930c4305.tar.xz
Merge pull request #1080
423776f daemon: log version when starting (moneromooo-monero)
-rw-r--r--src/daemon/main.cpp3
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);