Index: remoting/host/logging_posix.cc |
diff --git a/remoting/host/logging_posix.cc b/remoting/host/logging_posix.cc |
index fa6be18d2f2eb2bb85284db77e28e8d7dd80027f..d29086ecb46b353c45c9dd36cd7a274dcad51845 100644 |
--- a/remoting/host/logging_posix.cc |
+++ b/remoting/host/logging_posix.cc |
@@ -10,12 +10,9 @@ namespace remoting { |
void InitHostLogging() { |
// Write logs to the system debug log. |
- logging::InitLogging( |
- NULL, |
- logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::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); |
} |
} // namespace remoting |