Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #256 from JensDll/staging
Browse files Browse the repository at this point in the history
github-actions: merge staging into main
  • Loading branch information
JensDll authored Jun 3, 2023
2 parents 4442487 + 22da741 commit ff292a3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ static LoggerExtensions()
s_servingStaticCompressedFile = LoggerMessage.DefineScope<PathString>(
"Serving static compressed file: {Path}");

s_acceptEncodingMismatch = LoggerMessage.Define(LogLevel.Information,
s_acceptEncodingMismatch = LoggerMessage.Define(LogLevel.Debug,
new EventId(1, nameof(AcceptEncodingMismatch)),
$"Skipped as the request does not have an {HeaderNames.AcceptEncoding} header");

s_pathMismatch = LoggerMessage.Define(LogLevel.Information,
s_pathMismatch = LoggerMessage.Define(LogLevel.Debug,
new EventId(2, nameof(PathMismatch)),
"Skipped as the request path does start with the configured path");

s_endpointMatched = LoggerMessage.Define(LogLevel.Information,
s_endpointMatched = LoggerMessage.Define(LogLevel.Debug,
new EventId(3, nameof(EndpointMatched)),
"Skipped as the request already matched an endpoint");

s_verbMismatch = LoggerMessage.Define<string>(LogLevel.Information,
s_verbMismatch = LoggerMessage.Define<string>(LogLevel.Debug,
new EventId(4, nameof(VerbMismatch)),
"Skipped as {RequestMethod} requests are not supported");

s_contentTypeMismatch = LoggerMessage.Define<string?>(LogLevel.Information,
s_contentTypeMismatch = LoggerMessage.Define<string?>(LogLevel.Debug,
new EventId(5, nameof(ContentTypeMismatch)),
"Skipped as the {ContentType} content type is not supported");
}
Expand Down

0 comments on commit ff292a3

Please sign in to comment.