aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
authorrfree2monero <rfreemonero@op.pl>2015-04-02 16:27:19 +0200
committerrfree2monero <rfreemonero@op.pl>2015-04-02 16:27:19 +0200
commit618f20ce494ada0ac6ab087b33fc45e4968b3ac8 (patch)
treeec9b918070239ea8261d84ddd5b3792b343c99fc /src/daemon/main.cpp
parentUtils: use const, document dbg. Less default debug (diff)
downloadmonero-618f20ce494ada0ac6ab087b33fc45e4968b3ac8.tar.xz
Network 1.7; Quieted the debug a bit.
Really really finall version of this changes I hope.
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r--src/daemon/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp
index 6f7511e2a..d1e0cf671 100644
--- a/src/daemon/main.cpp
+++ b/src/daemon/main.cpp
@@ -50,6 +50,9 @@ int main(int argc, char const * argv[])
{
try {
+ _note_c("dbg/main", "Begin of main()");
+ // TODO parse the debug options like set log level right here at start
+
epee::string_tools::set_module_name_and_folder(argv[0]);
// Build argument description
@@ -230,7 +233,8 @@ int main(int argc, char const * argv[])
, log_file_path.parent_path().string().c_str()
);
}
- _erro("Test error");
+
+ _note_c("dbg/main", "Moving from main() into the daemonize now.");
return daemonizer::daemonize(argc, argv, daemonize::t_executor{}, vm);
}