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 Skipped - Unit
No Test Coverage - Build Status
Buildable 48795 Build 18321: arc lint + arc unit
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 | This would be better to be empty() instead !isset() |