tweak lock logging for better postmortem analysis