Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: remoting/host/logging_posix.cc

Issue 16519003: Define a LoggingSettings struct to use for InitLogging() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_main_nacl.cc ('k') | remoting/host/logging_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ppapi/proxy/plugin_main_nacl.cc ('k') | remoting/host/logging_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698