how does jenkins ui show log files? how does jenkins ui show log files? jenkins jenkins

how does jenkins ui show log files?


Custom log view implementation might not be required

Spring boot has a special endpoints called actuator api

One of this endpoints is : /actuator/logfile which is used to view the spring boot log :

curl 'http://localhost:8080/actuator/logfile' -i -X GET

enter image description here


how they are updating the file on server and client side

  • Update log file in server is not our problem.
  • A cool view in web is our concern.
  • I used a node.js implementation. Is ready to use and you could take some ideas:
  • I think a combination of web sockets, css and a correct file stream operation (open, close) and memory management, could be necessary to reach your goal.