summaryrefslogtreecommitdiffstats
path: root/remoting/host/logging_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/logging_win.cc')
-rw-r--r--remoting/host/logging_win.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/remoting/host/logging_win.cc b/remoting/host/logging_win.cc
index fa4b7ab..be69773 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);