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

About Calvin Correli
I've spent the last couple of decades years learning, growing, healing, and discovering who I truly am, so that I'm now living every day aligned with my life's purpose.
0 comments
Leave a comment