Enhanced debug log statements.