Can Rails/Ruby logging filter more than just passwords?

I have a rails app that gets polled every so often by a ‘heartbeat’
server just to see if it’s still alive. This means that a fair
percentage of my production log is filled with requests from the
heartbeat server.

For my apache logs I can just switch of logging for a particular IP,
does anyone know a similar solution for Rails logs?