Improve debug log.