Solved some weird logging issue.