aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
}