From 6361131d3f03bdc6f5642bfda8e1f165239d593a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 May 2016 14:40:49 -0400 Subject: Improve logging --- config.default.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config.default.php') 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); -- cgit v1.2.3