Added logger and logging.