Skip to content

Commit ed4a53d

Browse files
authored
Merge pull request #120 from Icinga/reduce-logging
CertificateUtils: Log openssl verify command errors only in debug mode
2 parents 5eaadd7 + 9caabf3 commit ed4a53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/X509/CertificateUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public static function verifyCertificates(Connection $db)
447447
$output = implode("\n", $output);
448448

449449
if ($exitcode !== 0) {
450-
Logger::warning('openssl verify failed for command %s: %s', $command, $output);
450+
Logger::debug('openssl verify failed for command %s: %s', $command, $output);
451451
}
452452

453453
preg_match('/^error \d+ at \d+ depth lookup:(.+)$/m', $output, $match);

0 commit comments

Comments
 (0)