front-end logging