config.inc.php : fix ident

This commit is contained in:
Benjamin Renard 2020-05-08 12:36:45 +02:00
parent 7c43439224
commit 27938eefb9

View file

@ -192,10 +192,10 @@ define('LSdebug',false);
// Logging // Logging
$GLOBALS['LSlog']['handlers'] = array ( $GLOBALS['LSlog']['handlers'] = array (
array ( array (
'handler' => 'file', 'handler' => 'file',
'path' => 'tmp/LS.log', 'path' => 'tmp/LS.log',
//'level' => 'DEBUG', //'level' => 'DEBUG',
// Filter on specific loggers // Filter on specific loggers
//'loggers' => array('LSurl', 'LSlang'), //'loggers' => array('LSurl', 'LSlang'),
// Default formats // Default formats
@ -203,24 +203,24 @@ $GLOBALS['LSlog']['handlers'] = array (
//'cli_format' => '%{clibinpath} - %{level} - %{message}', //'cli_format' => '%{clibinpath} - %{level} - %{message}',
//'datetime_prefix' => true, // Prefix message with datetime ? //'datetime_prefix' => true, // Prefix message with datetime ?
//'datetime_format' => 'Y/m/d H:i:s', // Datetime prefix format (see php date() function) //'datetime_format' => 'Y/m/d H:i:s', // Datetime prefix format (see php date() function)
), ),
array ( array (
'handler' => 'email', // Email handler (each logged message generated an email) 'handler' => 'email', // Email handler (each logged message generated an email)
'level' => 'FATAL', 'level' => 'FATAL',
'recipient' => 'root@localhost', // Email recipient 'recipient' => 'root@localhost', // Email recipient
), ),
/* /*
array ( array (
'handler' => 'syslog', // Syslog handler 'handler' => 'syslog', // Syslog handler
//'priority' => 'WARNING', // Force priority : EMERG, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG //'priority' => 'WARNING', // Force priority : EMERG, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG
), ),
*/ */
/* /*
array ( array (
'handler' => 'system', // System logging (using PHP error_log) 'handler' => 'system', // System logging (using PHP error_log)
'level' => 'ERROR', 'level' => 'ERROR',
), ),
*/ */
); );
$GLOBALS['LSlog']['loggers'] = array ( $GLOBALS['LSlog']['loggers'] = array (
/** /**
@ -241,7 +241,7 @@ $GLOBALS['LSlog']['loggers'] = array (
), ),
*/ */
); );
$GLOBALS['LSlog']['level'] = 'INFO'; // DEBUG, INFO, WARNING, ERROR, FATAL $GLOBALS['LSlog']['level'] = 'INFO'; // DEBUG, INFO, WARNING, ERROR, FATAL
$GLOBALS['LSlog']['enable'] = true; $GLOBALS['LSlog']['enable'] = true;
define('NB_LSOBJECT_LIST',30); define('NB_LSOBJECT_LIST',30);