From 95ac11a6aad8238a8349d8bda421739307987cae Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 5 Mar 2018 13:34:04 -0800 Subject: Add system log driver and use it by default --- app/constants.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/constants.php') diff --git a/app/constants.php b/app/constants.php index 35d651e8..c47f8e87 100644 --- a/app/constants.php +++ b/app/constants.php @@ -26,8 +26,8 @@ defined('PLUGIN_INSTALLER') or define('PLUGIN_INSTALLER', true); // Enable/disable debug defined('DEBUG') or define('DEBUG', strtolower(getenv('DEBUG')) === 'true'); -// Logging drivers: syslog, stdout, stderr or file -defined('LOG_DRIVER') or define('LOG_DRIVER', ''); +// Logging drivers: syslog, stdout, stderr, system or file +defined('LOG_DRIVER') or define('LOG_DRIVER', 'system'); // Logging file defined('LOG_FILE') or define('LOG_FILE', DATA_DIR.DIRECTORY_SEPARATOR.'debug.log'); -- cgit v1.2.3