Improving logging.