Logging can be helpful for troubleshooting issues or keeping a log of activity.
By default, all logging is disabled.
To turn logging on #
- Open /config/config.php in a text editor
- Locate
$conf['settings']['logging']['log.dir'](If this setting does not exist, add it) - Set this value to the full or relative directory path where you want the Booked log files written. (This directory must be writable)
- Locate
$conf['settings']['logging']['log.level'](If this setting does not exist, add it) - Set this value to either
debugorerror. Debug level logging will capture diagnostic and informational logs. Error logging will only capture errors. Error is the default and recommended setting. - Save /config/config.php
To turn logging off #
- Open /config/config.php in a text editor
- Locate
$conf['settings']['logging']['log.dir'] - Set this value to a blank string
- Save /config/config.php