Network 1.7; Quieted the debug a bit.

Really really finall version of this changes I hope.
This commit is contained in:
rfree2monero 2015-04-02 16:27:19 +02:00
parent 391c7f9612
commit 618f20ce49
3 changed files with 15 additions and 11 deletions

View file

@ -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);
}