Test debug logging and empty logging