Fixed logger issue.