aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/utils/daemonizator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src/utils/daemonizator.cc')
-rw-r--r--libtransport/src/utils/daemonizator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/utils/daemonizator.cc b/libtransport/src/utils/daemonizator.cc
index bc7bae700..6cb7d16ba 100644
--- a/libtransport/src/utils/daemonizator.cc
+++ b/libtransport/src/utils/daemonizator.cc
@@ -14,9 +14,9 @@
*/
#ifndef _WIN32
+#include <glog/logging.h>
#include <hicn/transport/errors/runtime_exception.h>
#include <hicn/transport/utils/daemonizator.h>
-#include <hicn/transport/utils/log.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -36,7 +36,7 @@ void Daemonizator::daemonize(bool close_fds) {
// PARENT PROCESS. Need to kill it.
if (process_id > 0) {
- TRANSPORT_LOGE("Process id of child process %d", process_id);
+ LOG(ERROR) << "Process id of child process " << process_id;
// return success in exit status
exit(EXIT_SUCCESS);
}