Use the Rails logger if it's available.