From a46eb9acd2af2ca98aba58f46e5d85601140e2ca Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sat, 2 Nov 2024 13:08:06 +1100 Subject: [PATCH] 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. --- obs-browser-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obs-browser-plugin.cpp b/obs-browser-plugin.cpp index af3195e82..226cde207 100644 --- a/obs-browser-plugin.cpp +++ b/obs-browser-plugin.cpp @@ -281,7 +281,7 @@ static void BrowserInit(void) os_mkdir(conf_path); CefSettings settings; - settings.log_severity = LOGSEVERITY_DISABLE; + settings.log_severity = LOGSEVERITY_FATAL; BPtr log_path = obs_module_config_path("debug.log"); BPtr log_path_abs = os_get_abs_path_ptr(log_path); CefString(&settings.log_file) = log_path_abs;