Add more logging to ticket systems