Adding some logging to rates.