Mati Mati - 1 year ago 733
HTTP Question

Spring Boot enable http requests logging

How to enable http server logs in an embedded tomcat server provided by spring boot? I've tried this in
but it doesn't create file, neither logs to console
server.tomcat.access-log-pattern=%a asdasd
spring boot 1.0.1.RELEASE

Answer Source


server.tomcat.accessLogPattern=%a asdasd

and look in /tmp/tomcat.<random>.<port>/logs for the output files. Set server.tomcat.basedir property to change the directory.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download