-
Notifications
You must be signed in to change notification settings - Fork 894
Closed
Labels
Type: EnhancementNew feature or requestNew feature or requesthelp wantedWe will welcome a contributionWe will welcome a contribution
Milestone
Description
In the HttpForwarder, the log level for errors is Information. Can this be changed to Error? This may be an issue in other log messages in other files, but this is the main one I noticed.
Background:
I am using Serilog for logging and setting the MinimumLevel override for "Microsoft.AspNetCore" and "Yarp.ReverseProxy.Forwarder" to Warning. This accompanied with the "UseSerilogRequestLogging" option allows the service to omit one log line per request. In this setup, any errors are not being logged because they are set as Information, not Error.
I would gladly make the change myself and create a Pull Request, if that would be helpful.
Metadata
Metadata
Assignees
Labels
Type: EnhancementNew feature or requestNew feature or requesthelp wantedWe will welcome a contributionWe will welcome a contribution