Index: sync/tools/testserver/run_sync_testserver.cc |
diff --git a/sync/tools/testserver/run_sync_testserver.cc b/sync/tools/testserver/run_sync_testserver.cc |
index 589333b94091034d2117ff340fd326a86e3c6711..c9cb29792c4a57b3398b6954c6d55bdf4a951315 100644 |
--- a/sync/tools/testserver/run_sync_testserver.cc |
+++ b/sync/tools/testserver/run_sync_testserver.cc |
@@ -76,12 +76,10 @@ int main(int argc, const char* argv[]) { |
CommandLine::Init(argc, argv); |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- if (!logging::InitLogging( |
- FILE_PATH_LITERAL("sync_testserver.log"), |
- logging::LOG_TO_BOTH_FILE_AND_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_ALL; |
+ settings.log_file = FILE_PATH_LITERAL("sync_testserver.log"); |
+ if (!logging::InitLogging(settings)) { |
printf("Error: could not initialize logging. Exiting.\n"); |
return -1; |
} |