Index: cloud_print/service/win/cloud_print_service.cc |
diff --git a/cloud_print/service/win/cloud_print_service.cc b/cloud_print/service/win/cloud_print_service.cc |
index 5a3c502aab7153ab95634c452d0271f6e58c1e42..e93ad05b07ff0640b878fa78c869653cb747a02e 100644 |
--- a/cloud_print/service/win/cloud_print_service.cc |
+++ b/cloud_print/service/win/cloud_print_service.cc |
@@ -401,11 +401,9 @@ int main(int argc, char** argv) { |
CommandLine::Init(argc, argv); |
base::AtExitManager at_exit; |
- logging::InitLogging(NULL, |
- logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::LOCK_LOG_FILE, |
- logging::APPEND_TO_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); |
logging::SetMinLogLevel( |
CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? |