try this from v5.1 onwards. 

wKioL1XRjIzi5FxWAAG2n7m5aJY447.jpg

修改:hybris\bin\platform\tomcat\conf\server.xml

<Engine name="Catalina" defaultHost="localhost" startStopThreads="0">

<Valve className="org.apache.catalina.valves.AccessLogValve"

directory="${HYBRIS_LOG_DIR}/tomcat"

prefix="access."

suffix=".log"

pattern="combined"

/>

<Host name="localhost"

appBase="webapps"

unpackWARs="false"

autoDeploy="false" startStopThreads="0">

${tomcat.webapps}

</Host>

</Engine>

重启时立即生效。但是在ant build后会丢失或覆盖。所以请直接修改

hybris\config\tomcat\conf\server.xml

wKioL1XRjKPhc0rfAAF6TFxp4sU480.jpg

reference info can be found here: 

1.http://tomcat.apache.org/tomcat-7.0-doc/config/host.html 

2.http://tomcat.apache.org/tomcat-7.0-doc/config/engine.html