Fixed logger usage.