Implemented ticket logging