Lars Pind

internet software, coaching, and entrepreneurship

Lars Pind - internet software, coaching, and entrepreneurship
Check out Coach TV, my video blog on happiness and personal development for geeks.

Filter Rails log by IP

June 26, 2007 · See comments

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