1 system.install | system_update_1057() |
Add default for watchdog_enabled_severity_levels.
Related topics
File
- core/
modules/ system/ system.install, line 3029 - Install, update and uninstall functions for the system module.
Code
function system_update_1057() {
$config = config('system.core');
// See watchdog_severity_levels() for possible values.
$config->set('watchdog_enabled_severity_levels', array(
WATCHDOG_EMERGENCY,
WATCHDOG_ALERT,
WATCHDOG_CRITICAL,
WATCHDOG_ERROR,
WATCHDOG_WARNING,
WATCHDOG_NOTICE,
WATCHDOG_INFO,
));
$config->save();
}