From cf1d11d29ec3d615205d72582951a712b226a612 Mon Sep 17 00:00:00 2001 From: WinterPhoenix Date: Tue, 11 Aug 2020 15:13:46 -0400 Subject: [PATCH] Reduce log_severity to LOGSEVERITY_DEFAULT LOGSEVERITY_VERBOSE is creating huge log files for clients on x86-64. Over time, they can become multiple GBs in size. --- html_chromium/ChromiumSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html_chromium/ChromiumSystem.cpp b/html_chromium/ChromiumSystem.cpp index e8f9088..4190710 100644 --- a/html_chromium/ChromiumSystem.cpp +++ b/html_chromium/ChromiumSystem.cpp @@ -108,7 +108,7 @@ bool ChromiumSystem::Init( const char* pBaseDir, IHtmlResourceHandler* pResource settings.no_sandbox = false; #endif settings.command_line_args_disabled = true; - settings.log_severity = LOGSEVERITY_VERBOSE; + settings.log_severity = LOGSEVERITY_DEFAULT; #ifdef _WIN32 // Chromium will be sad if we don't resolve any NTFS junctions for it @@ -360,4 +360,4 @@ JSValue ChromiumSystem::CreateHashMap( const char** pKeys, const size_t* pKeySiz } ChromiumSystem g_ChromiumSystem; -HTMLSYSTEM_EXPORT( g_ChromiumSystem ); \ No newline at end of file +HTMLSYSTEM_EXPORT( g_ChromiumSystem );