Made some logging debug-specific