dotnet / dotnet/aspnetcore

Support OOTB common log format

Open
#56,334 4 comments 0 reactions 0 assignees View on GitHub
area-networking
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

I saw https://github.com/dotnet/aspnetcore/pull/33251 but it seems it does not cover the original issue.
My issue is that default output of aspnet server (or using "standard" extensions) does not comply to the http server standard (common log or extended format).
Since this format (and its extended flavor) is very well tooled (log grabber etc) it is neat to be able to reuse it for dotnet apps to avoid to create one log parser per app/team/techno.

### Describe the solution you'd like

This request is about adding `UseCommongLogFormat(/*optionally configuration for the extended pattern which is useful when using logfields or attributes to enrich the output*/) `.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.