How do I enable logging of access logs in IntelliJ?
I know that to enable it, this snippet needs to be added to server.xml:
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".log"
pattern="common" resolveHosts="false"/>
However, I can't add it to %SYSTEM%/tomcat/project/conf/server.xml because it gets overridden on startup.
I've also looked here: , which looks promising. The log files don't actually get written, so I don't see how that could be an acceptable "Log file location".