Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return ability to use custom loggers and to set loggers for a specific route #107

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

Satbek
Copy link
Collaborator

@Satbek Satbek commented Jan 30, 2020

Closes #106

This pr almost completely reproduces #77, but added additional case handling:

If

server.options.log_requests == false
server.options.log_errors == false

and

route_options.log_requests == true
route_options.log_errors == true

then route would use log.info for requests logging and log.error for errors logging.

@Satbek Satbek merged commit fce39f3 into master Jan 30, 2020
@ligurio ligurio mentioned this pull request Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return ability to use custom loggers and to set loggers for a specific route
3 participants