diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-03-05 13:34:04 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-03-05 13:34:04 -0800 |
commit | 95ac11a6aad8238a8349d8bda421739307987cae (patch) | |
tree | ebd4c8ff1bfa8ea9db74a1e7c1b8ea62336d2d6b /doc/en_US | |
parent | 299198f7181fccf1e9a684649d173a1ebbdfbd1e (diff) |
Add system log driver and use it by default
Diffstat (limited to 'doc/en_US')
-rw-r--r-- | doc/en_US/config.markdown | 7 | ||||
-rw-r--r-- | doc/en_US/installation.markdown | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/en_US/config.markdown b/doc/en_US/config.markdown index 20ef03b3..a5497d64 100644 --- a/doc/en_US/config.markdown +++ b/doc/en_US/config.markdown @@ -9,14 +9,15 @@ Enable/Disable debug mode ```php define('DEBUG', true); -define('LOG_DRIVER', 'file'); // Other drivers are: syslog, stdout, stderr or file +define('LOG_DRIVER', 'file'); // Other drivers are: syslog, stdout, stderr, system or file // By default, the log file is in data/debug.log but you can change the path: define('LOG_FILE', '/path/to/debug.log'); ``` -The log driver must be defined if you enable the debug mode. -The debug mode logs all SQL queries and the time taken to generate pages. +- The log driver must be defined if you enable the debug mode. +- The debug mode logs all SQL queries and the time taken to generate pages. +- The `system` driver use the built-in PHP logger which could be configured in the [php.ini](http://php.net/manual/en/errorfunc.configuration.php#ini.error-log). By default, log messages are sent to the web server logs. Plugins ------- diff --git a/doc/en_US/installation.markdown b/doc/en_US/installation.markdown index 543ca4d0..aaa93f7d 100644 --- a/doc/en_US/installation.markdown +++ b/doc/en_US/installation.markdown @@ -17,7 +17,7 @@ From the archive (stable version) The `data` folder is used to store: - Sqlite database: `db.sqlite` -- Debug file: `debug.log` (if debug mode is enabled) +- Debug file: `debug.log` (if debug mode is enabled with the `file` driver) - Uploaded files: `files/*` - Image thumbnails: `files/thumbnails/*` |