serilog-web / classic

Serilog web request logging and enrichment for classic ASP.NET applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need a way to log all HTTP headers

lonevvolf opened this issue · comments

I don't see that this library offers a way to log all of the HTTP headers present when logging. We are trying to replace Elmah, and this functionality is included out-of-the-box in Elmah. Can we get such an enricher added here?

Hi! Sounds like a great enricher to add, +1 from me. Is it something you're interested in submitting a PR for?

Cheers,
Nick

Have you checked out https://github.com/aliozgur/Serilog.Enrichers.HttpContextData ? I haven't used it, but it looks like it does the http header logging

Closing due to lack of activity on this issue. Happy to re-open if there is some interest !