Utilise désormais la constante definit dans la partie admin pour le
niveau max
This commit is contained in:
parent
08569e045b
commit
001a46de12
@ -169,10 +169,7 @@ function dolibarr_syslog($message, $level=LOG_INFO)
|
|||||||
|
|
||||||
if ($conf->syslog->enabled)
|
if ($conf->syslog->enabled)
|
||||||
{
|
{
|
||||||
// Change this to LOg_DEBUG to see all messages on *nix
|
if ($level > SYSLOG_LEVEL) return;
|
||||||
$level_maximum = LOG_INFO;
|
|
||||||
|
|
||||||
if ($level > $level_maximum) return;
|
|
||||||
|
|
||||||
// Ajout user a la log
|
// Ajout user a la log
|
||||||
$login='???';
|
$login='???';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user