Trex support to do application logging to papertrail