diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-07 14:40:49 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-07 14:40:49 -0400 |
commit | 6361131d3f03bdc6f5642bfda8e1f165239d593a (patch) | |
tree | 1bcd0e73715502d516f08494fd71270c072492a7 /config.default.php | |
parent | 300dabe6b4e9e648c1111363fad8154def7cfb5f (diff) |
Improve logging
Diffstat (limited to 'config.default.php')
-rw-r--r-- | config.default.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config.default.php b/config.default.php index 8e5c6e49..abc928a9 100644 --- a/config.default.php +++ b/config.default.php @@ -7,8 +7,11 @@ // Enable/Disable debug define('DEBUG', false); -// Debug file path -define('DEBUG_FILE', __DIR__.DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'debug.log'); +// Available log drivers: syslog, stderr, stdout or file +define('LOG_DRIVER', ''); + +// Log filename if the log driver is "file" +define('LOG_FILE', __DIR__.DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'debug.log'); // Plugins directory define('PLUGINS_DIR', 'plugins'); @@ -168,9 +171,6 @@ define('ENABLE_HSTS', true); // Enable or disable "X-Frame-Options: DENY" HTTP header define('ENABLE_XFRAME', true); -// Enable syslog logging -define('ENABLE_SYSLOG', true); - // Escape html inside markdown text define('MARKDOWN_ESCAPE_HTML', true); |