Add system log driver and use it by default

This commit is contained in:
Frédéric Guillot
2018-03-05 13:34:04 -08:00
parent 299198f718
commit 95ac11a6aa
7 changed files with 39 additions and 9 deletions

View File

@@ -10,8 +10,8 @@ define('DATA_DIR', __DIR__.DIRECTORY_SEPARATOR.'data');
// Enable/Disable debug
define('DEBUG', false);
// Available log drivers: syslog, stderr, stdout or file
define('LOG_DRIVER', '');
// Available log drivers: syslog, stderr, stdout, system or file
define('LOG_DRIVER', 'system');
// Log filename if the log driver is "file"
define('LOG_FILE', DATA_DIR.DIRECTORY_SEPARATOR.'debug.log');