rack-rewrite icon indicating copy to clipboard operation
rack-rewrite copied to clipboard

Added logging of rules to the rack.errors or rack.logger

Open scottdavis opened this issue 13 years ago • 7 comments

example output: https://gist.github.com/1163844

Rails does not support env['rack.logger'] in order to get the log messages to show up in rails you need to send messages to env['rack.errors'] which is kind of hacky but i blame this on rails for not following the rack specs recomenations. It will fall back to 'rack.logger' if it exists

scottdavis avatar Aug 22 '11 22:08 scottdavis

This is a great feature, since I'm a little worried other developers working on the app will not be able to discover that rack-rewrite is active and doing its magic.

They will just see the URL redirects happening without anything in routes.rb and get confused :-)

tilsammans avatar Aug 25 '11 14:08 tilsammans

any word on this? are you still actively maintaining this john?

scottdavis avatar Nov 03 '11 20:11 scottdavis

Im pretty sure he is no longer maintaining this I've tried reaching out to him via twitter with no response

scottdavis avatar Mar 14 '12 15:03 scottdavis

I would be fine in forking and maintaining this. What do you think?

tilsammans avatar Mar 15 '12 08:03 tilsammans

@scottdavis Hey I'm the new maintainer, would you mind rebasing your changes so everything's up to date?

travisjeffery avatar Oct 16 '12 21:10 travisjeffery

No time ATM working on a rather large release of compass

Sent from my iPhone

On Oct 16, 2012, at 5:00 PM, Travis Jeffery [email protected] wrote:

@scottdavis Hey I'm the new maintainer, would you mind rebasing your changes so everything's up to date?

— Reply to this email directly or view it on GitHub.

scottdavis avatar Oct 16 '12 21:10 scottdavis

I'm taking a stab at this in a branch on my fork. Going to try to maintain commit attribution, but I may have to do some manual work on the merge commit, and I will probably bump the dates on the commits.

paulhenrich avatar Mar 30 '14 20:03 paulhenrich