Update the ActiveRecord log subscriber to work with AR 4.0.0