Fix assignment of log file path (issue #903).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1420 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
8ac34699f6
commit
a865b25a2d
|
@ -284,8 +284,9 @@ bool CefMainDelegate::BasicStartupComplete(int* exit_code) {
|
|||
|
||||
// Initialize logging.
|
||||
logging::LoggingSettings log_settings;
|
||||
log_settings.log_file =
|
||||
command_line->GetSwitchValuePath(switches::kLogFile).value().c_str();
|
||||
const base::FilePath& log_file =
|
||||
command_line->GetSwitchValuePath(switches::kLogFile);
|
||||
log_settings.log_file = log_file.value().c_str();
|
||||
log_settings.lock_log = logging::DONT_LOCK_LOG_FILE;
|
||||
log_settings.delete_old = logging::APPEND_TO_OLD_LOG_FILE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue