Skip to content

Commit 4023fad

Browse files
WizardCMRytoEX
authored andcommitted
Log fatal CEF crashes to file
CEF provides no method to reroute logging, but without FATAL logging it is impossible to track down some crashes.
1 parent 663dc38 commit 4023fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

obs-browser-plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static void BrowserInit(void)
281281
os_mkdir(conf_path);
282282

283283
CefSettings settings;
284-
settings.log_severity = LOGSEVERITY_DISABLE;
284+
settings.log_severity = LOGSEVERITY_FATAL;
285285
BPtr<char> log_path = obs_module_config_path("debug.log");
286286
BPtr<char> log_path_abs = os_get_abs_path_ptr(log_path);
287287
CefString(&settings.log_file) = log_path_abs;

0 commit comments

Comments
 (0)