Moved logging.