sweet logging to front end with log message count