Add option to be able to debug problem of apache lock page
This commit is contained in:
parent
c5aed0c333
commit
53708c138a
@ -109,6 +109,11 @@ class mod_syslog_file extends LogHandler implements LogHandlerInterface
|
||||
if (empty($conf->global->SYSLOG_FILE)) $tmp=DOL_DATA_ROOT.'/dolibarr.log';
|
||||
else $tmp=str_replace('DOL_DATA_ROOT', DOL_DATA_ROOT, $conf->global->SYSLOG_FILE);
|
||||
|
||||
if (! empty($conf->global->SYSLOG_FILE_ONEPERSESSION))
|
||||
{
|
||||
$suffixinfilename = '_'.session_name();
|
||||
}
|
||||
|
||||
return $suffixinfilename?preg_replace('/\.log$/i', $suffixinfilename.'.log', $tmp):$tmp;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user