Created
February 7, 2012 09:43
-
-
Save rbeverly/1758747 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="valves"> | |
<list> | |
<bean id="valve.access" class="org.apache.catalina.valves.AccessLogValve"> | |
<property name="directory" value="log" /> | |
<property name="prefix" value="${http.host}_access." /> | |
<property name="suffix" value=".log" /> | |
<property name="pattern" value="common" /> | |
<property name="resolveHosts" value="false" /> | |
<property name="rotatable" value="true" /> | |
</bean> | |
<bean id="valve.remoteHost" class="org.apache.catalina.valves.RemoteHostValve"> | |
<property name="allow" value="some.domain.com, localhost" /> | |
</bean> | |
</list> | |
</property> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment