Reformating, logging->logger