Optional debug logging to tracking KIF failures