Skip to content

Commit

Permalink
[MAINTENANCE] Change log level to INFO for using default values in pl…
Browse files Browse the repository at this point in the history
…ugin settings (#1376)

Co-authored-by: Sebastian Meyer <[email protected]>
  • Loading branch information
markusweigelt and sebastian-meyer authored Dec 16, 2024
1 parent b83e35f commit 18a6ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ protected function setDefaultIntSetting(string $setting, int $value): void
{
if (!array_key_exists($setting, $this->settings) || empty($this->settings[$setting])) {
$this->settings[$setting] = $value;
$this->logger->warning('Setting "' . $setting . '" not set, using default value "' . $value . '". Probably FlexForm for controller "' . get_class($this) . '" is not read.');
$this->logger->info('Setting "' . $setting . '" not set, using default value "' . $value . '" in ' . get_class($this) . '.');
} else {
$this->settings[$setting] = (int) $this->settings[$setting];
}
Expand Down

0 comments on commit 18a6ba4

Please sign in to comment.