Skip to content

Commit

Permalink
Adjust a log level in the InternalAddress.php
Browse files Browse the repository at this point in the history
If the admin doesn't configure the 'Per email domain installation',
a log was emittied every time that someone logged into the Roundcube.

This is annoying and unnecessary. I adjusted the log to not be visible
unless under a more sensible log level.

Signed-off-by: Igor Matheus Andrade Torrente <[email protected]>
  • Loading branch information
Igor Matheus Andrade Torrente committed Aug 3, 2021
1 parent 7557946 commit d9b9e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roundcube/lib/InternalAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private function getRCPath($domain) {

$domainPath = json_decode($jsonDomainPath, true);
if (!is_array($domainPath)) {
Utils::log_warning($this->logger, "Json decoded is not an array.");
Utils::log_notice($this->logger, "Json decoded is not an array.");
return $defaultRCPath;
}

Expand Down

0 comments on commit d9b9e16

Please sign in to comment.