simplify logging.