MULE-7285: Log debug info only when debug is enabled.