Repository navigation
v1.94.0 - Aludra
[1.94.0] - 2026-12-01 — Aludra
Every log file rotates, framework.log included, errors reach error.log, and the rotation
settings do what they say.
Fixed
- Application errors are written to
error.log.LogManager'sapp.loghandler accepted INFO
and above and stopped records there, so errors went toapp-*.loganderror-*.logwas never
created. Each file now takes one level range: DEBUG todebug.log, INFO to WARNING toapp.log,
ERROR and above toerror.log. Each record is written once. - The framework channel rotates. The container's PSR-3 logger, which the exception handler
writes to, used a plain stream, sostorage/logs/framework.loggrew without limit even though
logging.channels.frameworkdeclared'driver' => 'daily'and'days'. It now writes dated
files (framework-2026-12-01.log) and keeps the channel'sdays(LOG_ROTATION_DAYS). Set the
channel'sdriverto'single'to keep one file; a stream path such asphp://stderris never
rotated. logging.rotation.strategyis read.LogManagerignored it and always rotated daily. It now
acceptsdaily(the default) ormonthly, which writesapp-2026-12.logand keeps enough
months to coverlogging.rotation.days.configureRotation()rebuilds the file handlers, so a
new strategy also applies its retention.- Old dev query logs are deleted. The development query monitor's
queries-YYYY-MM-DD.log
files are pruned afterlogging.rotation.days, like the other log files.
Removed
- The
weeklyandsizerotation strategies andlogging.rotation.max_size. They were never
implemented:weeklykept seven daily files, andsizelogged a warning and rotated daily. Both
now rotate daily. Rotation is shared through the newGlueful\Logging\LogRotation.
Upgrade Notes
- Application errors move from
app-*.logtoerror-*.log. Anything that searchedapp-*.log
for errors should readerror-*.log. - After the update, new framework log lines go to
framework-YYYY-MM-DD.log. The existing
framework.logstops growing and is not deleted by rotation; archive or remove it when you no
longer need it. Anything that readsframework.log(log shippers,tail -f) should follow
framework-*.log. logging.rotation.dayskeeps the newestdaysdaily files, counting only days that logged
something, so retention can reach further back thandayson a quiet app.- Remove
max_sizefrom yourconfig/logging.php(LOG_MAX_SIZEis no longer read). A
LOG_ROTATION_STRATEGYofweeklyorsizebehaves asdaily. LOG_ROTATION_STRATEGY(dailyormonthly) is now in.env.example; it was in the config
before but had no effect.