tweaks logging.