diff --git a/helfi_api_base.install b/helfi_api_base.install index 27be033..13acc4d 100644 --- a/helfi_api_base.install +++ b/helfi_api_base.install @@ -42,6 +42,17 @@ function helfi_api_base_install(bool $is_syncing = FALSE) : void { ->set('browser_traces_sample_rate', 0.2) ->set('database_tracing', TRUE) ->set('twig_tracing', TRUE) + ->set('log_levels', [ + 'emergency' => TRUE, + 'alert' => TRUE, + 'critical' => TRUE, + 'error' => TRUE, + 'warning' => FALSE, + 'notice' => FALSE, + 'info' => FALSE, + 'debug' => FALSE, + ]) + ->set('fatal_error_handler', TRUE) ->save(); } } @@ -200,3 +211,10 @@ function helfi_api_base_update_9020(): void { ->save(); } } + +/** + * UHF-10880: Update the Raven settings. + */ +function helfi_api_base_update_9021() : void { + helfi_api_base_install(); +}