Fixed issue with logger instantiation and output