Fixed issue with Logger initialization