Refactored logger instantiation to see if this works...