Initial attempt to support papertrail logging