Log
Methods for application logging.
For now, all events are written to data/logs/app.log
.
BetaThis is a work in progress. For example, in the future, log events might be written to a sqlite file instead.
Log Rotation
When the log file reaches 10 MB, it is automatically moved to data/logs/app.log.bak
, which will be overwritten each time the main log file reaches the size limit.
In the future, this will be configurable.
Configuration
You can set logLevel
in config/app.local.jcon
to filter the events that are written to the log. (Default: all
)