In containerized environments we want to run liveness checks every couple of seconds, but there isn't really a point to log all these access attempts.
This just avoids logging the liveness checks.
Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rKc6410b01d297: Excempt liveness checks from logging
Diff Detail
Diff Detail
- Repository
- rK kolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This currently only applies when APP_DEBUG=true, but having a log line every couple of seconds when debugging is still annoying enough IMO.
src/app/Http/Middleware/RequestLogger.php | ||
---|---|---|
23–27 | This would be better to be empty() instead !isset() |