update logging.