summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 17:04:52 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 17:04:52 +0000
commit781ff1569b156fd315cea32707334454af6b3704 (patch)
tree685fdc9ab5c0ddc2dea4a2cbfeb722b528d8935b
parent3c46ae1a00c63eac6fc8662d49d87d00115e63c5 (diff)
downloadchromium_src-781ff1569b156fd315cea32707334454af6b3704.zip
chromium_src-781ff1569b156fd315cea32707334454af6b3704.tar.gz
chromium_src-781ff1569b156fd315cea32707334454af6b3704.tar.bz2
Send log output to stderr on Windows when uninitialized
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1223 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/logging.cc b/base/logging.cc
index 227085f..ceb2669 100644
--- a/base/logging.cc
+++ b/base/logging.cc
@@ -81,7 +81,7 @@ LogLockingState lock_log_file = LOCK_LOG_FILE;
// on POSIX platforms, where it may not even be possible to locate the
// executable on disk, use stderr.
#if defined(OS_WIN)
-LoggingDestination logging_destination = LOG_ONLY_TO_FILE;
+LoggingDestination logging_destination = LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG;
#elif defined(OS_POSIX)
LoggingDestination logging_destination = LOG_ONLY_TO_SYSTEM_DEBUG_LOG;
#endif