You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -114,9 +114,15 @@ public function validateLogLevel($attribute, $params, $validator)
114
114
115
115
// Only log warning once per session for config overrides
116
116
if ($this->isOverriddenByConfig('logLevel')) {
117
-
if (Craft::$app->getSession()->get('im_debug_config_warning') === null) {
117
+
if (!Craft::$app->getRequest()->getIsConsoleRequest()) {
118
+
// Web request - use session to prevent duplicate warnings
119
+
if (Craft::$app->getSession()->get('im_debug_config_warning') === null) {
120
+
Craft::warning('Log level "debug" from config file changed to "info" because devMode is disabled. Please update your config/icon-manager.php file.', 'icon-manager');
Craft::warning('Log level "debug" from config file changed to "info" because devMode is disabled. Please update your config/icon-manager.php file.', 'icon-manager');
0 commit comments