Skip to content

Commit

Permalink
feat(webserver): log all 5xx error with accesslog
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jun 24, 2022
1 parent 4a61af4 commit 35cfea0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void logAccess(Logger accessLogger, List<String> filters) {
.stream()
.anyMatch(message::matches);

if (!filtered) {
if (!filtered && status < 500) {
return;
}

Expand Down

0 comments on commit 35cfea0

Please sign in to comment.