Index: sync/tools/sync_listen_notifications.cc |
diff --git a/sync/tools/sync_listen_notifications.cc b/sync/tools/sync_listen_notifications.cc |
index 92fde0ea05474c6cf6d38e737c9c03fb5c5f743e..dc548865c227e3b4122d78c77399e67ab965cec1 100644 |
--- a/sync/tools/sync_listen_notifications.cc |
+++ b/sync/tools/sync_listen_notifications.cc |
@@ -150,12 +150,9 @@ int SyncListenNotificationsMain(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 ui_loop; |
base::Thread io_thread("IO thread"); |