Improve debug logs.