Silence your Rails logs under certain conditions