Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Response code logging tweaks - different log levels for success, redi… #427
…rect and error responses
Currently every response from repository that return HTTP status code different than 200 is logged using ERROR logger level. The strategy has been adjusted.
2xx - success - log at debug
Motivation and Context
Too many error messages may trigger unwanted warnings for devops. Error log level should indicate that something is wrong.
Screenshots (if appropriate):
Types of changes
I hereby agree to the terms of the Knot.x Contributor License Agreement.
Would it be possible to add information about requested resource while logging response?