From 16880074fa572e7135c6ea916e5c296b0bed6869 Mon Sep 17 00:00:00 2001 From: hagen Date: Fri, 18 Dec 2015 12:27:47 +0000 Subject: [PATCH] * sane log messages: DaemonWin32.cpp --- DaemonWin32.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DaemonWin32.cpp b/DaemonWin32.cpp index 96b28076..6e0c46b8 100644 --- a/DaemonWin32.cpp +++ b/DaemonWin32.cpp @@ -49,17 +49,17 @@ namespace i2p if (isDaemon == 1) { - LogPrint("Service session"); + LogPrint(eLogDebug, "Daemon: running as service"); I2PService service(SERVICE_NAME); if (!I2PService::Run(service)) { - LogPrint("Service failed to run w/err 0x%08lx\n", GetLastError()); + LogPrint(eLogError, "Daemon: Service failed to run w/err 0x%08lx\n", GetLastError()); exit(EXIT_FAILURE); } exit(EXIT_SUCCESS); } else - LogPrint("User session"); + LogPrint(eLogDebug, "Daemon: running as user"); return true; } @@ -80,4 +80,4 @@ namespace i2p } } -#endif \ No newline at end of file +#endif