Added real logging.