Is there any way to access jetty server logs through browser?
Is there any way to access jetty server logs through browser?
I have configured jetty-distribution-9.4.11.v20180605 server on my ubuntu 16.04. Now I want to access jetty logs through browser using link localhost:8080/logs/. I have successfully configured this with tomcat web server, but not able to do the same on jetty server.
Can anyone please help me with this?
1 Answer
1
A symlink should be enough.
If you have deployed to ${jetty.base}/webapps/
then just create a symlink.
${jetty.base}/webapps/
Eg:
$ cd /path/to/mybase
$ ln -s logs webapps/logs
Restart and you should be good.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Tried it but no luck.
– vsbehere
yesterday