1 system.install system_update_1057()

Add default for watchdog_enabled_severity_levels.

Related topics

File

core/modules/system/system.install, line 2890
Install, update and uninstall functions for the system module.

Code

function system_update_1057() {
  $config = config('system.core');
  $config->set('watchdog_enabled_severity_levels', array(
    WATCHDOG_EMERGENCY,
    WATCHDOG_ALERT,
    WATCHDOG_CRITICAL,
    WATCHDOG_ERROR,
    WATCHDOG_WARNING,
    WATCHDOG_NOTICE,
    WATCHDOG_INFO,
    // WATCHDOG_DEBUG,
// WATCHDOG_DEPRECATED,
  ));
  $config->save();
}