Index: remoting/host/logging_win.cc |
diff --git a/remoting/host/logging_win.cc b/remoting/host/logging_win.cc |
index fa4b7ab95c570133b51518e4aaaa84208f8cf677..be69773eecc7e1af836b0b6c7df0dc2d660aacd4 100644 |
--- a/remoting/host/logging_win.cc |
+++ b/remoting/host/logging_win.cc |
@@ -18,12 +18,9 @@ namespace remoting { |
void InitHostLogging() { |
// Write logs to the system debug log. |
- logging::InitLogging( |
- NULL, |
- logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::DONT_LOCK_LOG_FILE, |
- logging::DELETE_OLD_LOG_FILE, |
- logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS); |
+ logging::LoggingSettings settings; |
+ settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
+ logging::InitLogging(settings); |
// Enable trace control and transport through event tracing for Windows. |
logging::LogEventProvider::Initialize(kRemotingHostLogProvider); |