I followed the instructions in this answer and springboot documentation to add the following in application.properties
.
I can see these properties at https://localhost:9999/actuator/configprops
and the requests I make at https://localhost:9999/actuator/httptrace
but no access log file gets created.
I have to log4j2 logs files created in the same folder, so I do not think it is a file write problem or similar.
How can I debug this further?
server.tomcat.accesslog.buffered=false
server.tomcat.accesslog.directory=logs
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.file-date-format=.yyyy-MM-dd
server.tomcat.accesslog.pattern=common
server.tomcat.accesslog.prefix=access_log
server.tomcat.accesslog.rename-on-rotate=false
server.tomcat.accesslog.request-attributes-enabled=true
server.tomcat.accesslog.rotate=true
server.tomcat.accesslog.suffix=.log