serilog-web / classic

[Discontinued] Serilog web request logging and enrichment for classic ASP.NET applications
Apache License 2.0
79 stars 32 forks source link

Need a way to log all HTTP headers #31

Closed lonevvolf closed 6 years ago

lonevvolf commented 8 years ago

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?

nblumhardt commented 8 years ago

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

Cheers, Nick

tsimbalar commented 7 years ago

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

tsimbalar commented 6 years ago

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