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

add QuietLogger that excludes pathes from Rack::CommonLogger #1250

Merged
merged 1 commit into from Mar 15, 2020

Conversation

aiomaster
Copy link
Contributor

Hi,

I want to add a QuietLogger to sinatra-contrib gem, that is able to exclude some pathes from the access log. This is usefull to silent asset logging, while seeing the relevant requests of your application in log.
To do that, I had to patch the Rack::CommonLogger a little. I hope it was the right location to do that.

Thanks!

@zzak
Copy link
Member

zzak commented Mar 4, 2017

Thank you for your patch!

I'd like to consider adding this after a 2.0 release.

@zzak zzak added this to the Beyond milestone Mar 4, 2017
@jkowens jkowens closed this Mar 14, 2020
@jkowens jkowens reopened this Mar 14, 2020
@jkowens jkowens modified the milestones: Beyond, v2.1.0 Mar 14, 2020
@jkowens jkowens merged commit 00bdf4f into sinatra:master Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants