Simplified debug level setting.