Index: net/tools/testserver/run_testserver.cc |
diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc |
index 9f5f5617ca997bd1ca1cae8b3726096d55d26691..59b75f13c7f04f1f1a3b26d0698cdb9849f535f4 100644 |
--- a/net/tools/testserver/run_testserver.cc |
+++ b/net/tools/testserver/run_testserver.cc |
@@ -28,12 +28,10 @@ int main(int argc, const char* argv[]) { |
CommandLine::Init(argc, argv); |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
- if (!logging::InitLogging( |
- FILE_PATH_LITERAL("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("testserver.log"); |
+ if (!logging::InitLogging(settings)) { |
printf("Error: could not initialize logging. Exiting.\n"); |
return -1; |
} |