Adding ticket logging