output log to front-html