mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-18 13:10:42 +01:00
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.
|
// Initialize logging.
|
||||||
logging::LoggingSettings log_settings;
|
logging::LoggingSettings log_settings;
|
||||||
log_settings.log_file =
|
const base::FilePath& log_file =
|
||||||
command_line->GetSwitchValuePath(switches::kLogFile).value().c_str();
|
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.lock_log = logging::DONT_LOCK_LOG_FILE;
|
||||||
log_settings.delete_old = logging::APPEND_TO_OLD_LOG_FILE;
|
log_settings.delete_old = logging::APPEND_TO_OLD_LOG_FILE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user