You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in application.properties, define management port = 7081
in application.properties, define the app port to be anything but 7081
in application.properties, set the server.tomcat.base=/home/mydir
Start the spring-boot project with tomcat as the web server
expected: access log goes to /home/mydir
actual: after a few days, the access.log will suddenly appears in /tmp/tomcat.xxxx.port_number
I have cloud deployment that needs to do log rotation. Prefer to centralize everything to one single directory.