Added front-end logging.