Filter Rails log by IP

Here’s a snippet of code for a Rake task that will filter your Rails log by IP address, so you can quickly follow a single user’s session.



Run it with rake log:for IP=10.20.30.40

0 comments

There are no comments yet. Be the first one to leave a comment!

Leave a comment