Added missing log level for compatibility.
Removed incorrect log level check.