mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Solve the massive logger bloat by simplifying it to be RFC 5424
As it confused people and #552
This commit is contained in:
parent
2056600a72
commit
87d01c8bde
40 changed files with 330 additions and 799 deletions
|
|
@ -79,7 +79,7 @@ class ChangePasswordDriverLDAP
|
|||
if (!\ldap_set_option($oCon, LDAP_OPT_PROTOCOL_VERSION, 3)) {
|
||||
$this->oLogger->Write(
|
||||
'Failed to set LDAP Protocol version to 3, TLS not supported.',
|
||||
\MailSo\Log\Enumerations\Type::WARNING,
|
||||
\LOG_WARNING,
|
||||
'LDAP'
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
if ($oLogger) {
|
||||
$oLogger->Write("ERROR: {$name} password change for {$oAccount->Email()} failed");
|
||||
$oLogger->WriteException($oException);
|
||||
// $oLogger->WriteException($oException, \MailSo\Log\Enumerations\Type::WARNING, $name);
|
||||
// $oLogger->WriteException($oException, \LOG_WARNING, $name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue