Fixed issue with formatted logging.