mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +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
|
|
@ -66,13 +66,13 @@ class ChangePasswordHMailServerDriver
|
|||
$oHmailAccount->Save();
|
||||
$bResult = true;
|
||||
} else {
|
||||
$this->oLogger && $this->oLogger->Write('hMailServer: Unknown account ('.$sEmail.')', \MailSo\Log\Enumerations\Type::ERROR);
|
||||
$this->oLogger && $this->oLogger->Write('hMailServer: Unknown account ('.$sEmail.')', \LOG_ERROR);
|
||||
}
|
||||
} else {
|
||||
$this->oLogger && $this->oLogger->Write('hMailServer: Unknown domain ('.$sDomain.')', \MailSo\Log\Enumerations\Type::ERROR);
|
||||
$this->oLogger && $this->oLogger->Write('hMailServer: Unknown domain ('.$sDomain.')', \LOG_ERROR);
|
||||
}
|
||||
} else {
|
||||
$this->oLogger && $this->oLogger->Write('hMailServer: Auth error', \MailSo\Log\Enumerations\Type::ERROR);
|
||||
$this->oLogger && $this->oLogger->Write('hMailServer: Auth error', \LOG_ERROR);
|
||||
}
|
||||
}
|
||||
catch (\Exception $oException)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue