diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 20:41:02 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-11 20:41:02 +0000 |
commit | 346b89eff044298e2952fc6fa9465882643b9813 (patch) | |
tree | 8f66a02716fd62533dc9bc30dbfe281bd862b633 /remoting | |
parent | d802bc866cd6b41ca48a31763d64c858f132b922 (diff) | |
download | chromium_src-346b89eff044298e2952fc6fa9465882643b9813.zip chromium_src-346b89eff044298e2952fc6fa9465882643b9813.tar.gz chromium_src-346b89eff044298e2952fc6fa9465882643b9813.tar.bz2 |
Do not use the logging lock since the debug log file is not used anyway.
BUG=257196
Review URL: https://chromiumcodereview.appspot.com/18210006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/logging_posix.cc | 3 | ||||
-rw-r--r-- | remoting/host/logging_win.cc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/remoting/host/logging_posix.cc b/remoting/host/logging_posix.cc index d29086e..1d7773a 100644 --- a/remoting/host/logging_posix.cc +++ b/remoting/host/logging_posix.cc @@ -12,6 +12,9 @@ void InitHostLogging() { // Write logs to the system debug log. logging::LoggingSettings settings; settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; + // TODO(alexeypa): remove this line once logging is updated to not create + // the lock if the log file is not used. + settings.lock_log = logging::DONT_LOCK_LOG_FILE; logging::InitLogging(settings); } diff --git a/remoting/host/logging_win.cc b/remoting/host/logging_win.cc index be69773..b874113 100644 --- a/remoting/host/logging_win.cc +++ b/remoting/host/logging_win.cc @@ -20,6 +20,9 @@ void InitHostLogging() { // Write logs to the system debug log. logging::LoggingSettings settings; settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; + // TODO(alexeypa): remove this line once logging is updated to not create + // the lock if the log file is not used. + settings.lock_log = logging::DONT_LOCK_LOG_FILE; logging::InitLogging(settings); // Enable trace control and transport through event tracing for Windows. |