temp logging for debugging deadlock