Added papertrail loggings and test logs.