mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-24 10:21:32 +01:00
Help debug cron
This commit is contained in:
@@ -1563,6 +1563,11 @@ function dol_syslog($message, $level = LOG_INFO, $ident = 0, $suffixinfilename =
|
||||
}
|
||||
}
|
||||
|
||||
// Check if we have a forced suffix
|
||||
if (defined('USESUFFIXINLOG')) {
|
||||
$suffixinfilename .= constant('USESUFFIXINLOG');
|
||||
}
|
||||
|
||||
if ($ident < 0) {
|
||||
foreach ($conf->loghandlers as $loghandlerinstance) {
|
||||
$loghandlerinstance->setIdent($ident);
|
||||
|
||||
Reference in New Issue
Block a user