diff options
author | rfree2monero <rfreemonero@op.pl> | 2015-04-02 16:27:19 +0200 |
---|---|---|
committer | rfree2monero <rfreemonero@op.pl> | 2015-04-02 16:27:19 +0200 |
commit | 618f20ce494ada0ac6ab087b33fc45e4968b3ac8 (patch) | |
tree | ec9b918070239ea8261d84ddd5b3792b343c99fc /src/daemon | |
parent | Utils: use const, document dbg. Less default debug (diff) | |
download | monero-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')
-rw-r--r-- | src/daemon/main.cpp | 6 |
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); } |