Index: sync/tools/sync_client.cc |
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc |
index c6a5e5ba45df2d8795557cdb4aeb7ba309bcb994..6ce8bdedaa85d07777bbaf9faa2936fe6a3be807 100644 |
--- a/sync/tools/sync_client.cc |
+++ b/sync/tools/sync_client.cc |
@@ -230,12 +230,9 @@ int SyncClientMain(int argc, char* argv[]) { |
#endif |
base::AtExitManager exit_manager; |
CommandLine::Init(argc, argv); |
- 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); |
base::MessageLoop sync_loop; |
base::Thread io_thread("IO thread"); |