logging.php file contains log file configuration items. This document provides an list of configuration items available in the file, allowing you to modify them as necessary.
For details on how to set the below configuration items, please create a
/config/production/logging.php file and read: Updating Config Files.
The relevant channels to edit are:
emaillog- the verbose email log, which has to be enabled under the email channel settings.
querylog- all SQL queries, which are only stored when debug mode is manually enabled in the app configuration file.
generallog- the application log files.
||The number of log files to retain.||
3 or 5
||Log all levels greater than or equal to the specified severity level. For example, a log_level of
debug, info, notice, warning,
error, crtical, alert, emergency