First pass at logging.