Fixed Logger compiler bugs