Index: net/tools/get_server_time/get_server_time.cc |
diff --git a/net/tools/get_server_time/get_server_time.cc b/net/tools/get_server_time/get_server_time.cc |
index 23b930448162e856ee9585deaef2eb9b0e7f35a0..c356212bd7ac38ef2adf0f087db31b5d66c714a2 100644 |
--- a/net/tools/get_server_time/get_server_time.cc |
+++ b/net/tools/get_server_time/get_server_time.cc |
@@ -230,12 +230,9 @@ int main(int argc, char* argv[]) { |
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); |
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); |
GURL url(parsed_command_line.GetSwitchValueASCII("url")); |