mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Log file for error messages use LOG_ERR level.
This commit is contained in:
@@ -329,7 +329,7 @@ class CMailFile
|
||||
else
|
||||
{
|
||||
$this->error='No mail sent. Feature is disabled by option MAIN_DISABLE_ALL_MAILS';
|
||||
dol_syslog("CMailFile::sendfile: ".$this->error);
|
||||
dol_syslog("CMailFile::sendfile: ".$this->error, LOG_WARN);
|
||||
}
|
||||
|
||||
error_reporting($errorlevel); // Reactive niveau erreur origine
|
||||
|
||||
Reference in New Issue
Block a user