Fixed logger not logging.
Silly global logger