spring - How to serve up logging files in a html page? -


we using spring boot our web service. logging implemented using logback. application deployed in red hat linux box , if want browse on logs don't want through plain text version. there needs static html page serve up. tried looking @ examples no 1 tried logging.

spring boot admin separate application offers admin features on spring boot app. these featues include logfile-endpoint allows see , tail logfile(s) produced spring boot app. default, endpoint provide access log file defined spring boot logging.file property , can configure non spring boot managed logfile defining property: endpoints.logfile.external-file.

if tool not runner options might be:

  • logviewer
  • roll own, example ...
    • use commons io tailer tail file, via file mount on target server or remotely using jsch perhaps
    • use socketappender emit log events server , consume log events on client side display in browser

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -