Index: courgette/courgette_tool.cc |
diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc |
index 6aa951a73783610b43066f95d4546258683ac002..1d8b77d813daab32f52fb77d4f335e98bcd48117 100644 |
--- a/courgette/courgette_tool.cc |
+++ b/courgette/courgette_tool.cc |
@@ -424,12 +424,10 @@ int main(int argc, const char* argv[]) { |
CommandLine::Init(argc, argv); |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- (void)logging::InitLogging( |
- FILE_PATH_LITERAL("courgette.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("courgette.log"); |
+ (void)logging::InitLogging(settings); |
logging::SetMinLogLevel(logging::LOG_VERBOSE); |
bool cmd_sup = command_line.HasSwitch("supported"); |