Fixed logger compiler errors