Guest User

Untitled

a guest
Nov 12th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. <beans xmlns="http://www.springframework.org/schema/beans"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns:p="http://www.springframework.org/schema/p"
  4. xmlns:c="http://www.springframework.org/schema/c"
  5. xmlns:util="http://www.springframework.org/schema/util"
  6. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  7. http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
  8.  
  9. <description>
  10. Log4J initialization. Configuration options are sourced from cas.properties. This allows deployers to externalize
  11. both cas.properties and log4j.xml, so that a single cas.war file can be deployed to multiple tiers or hosts without
  12. having to do any post configuration. This approach helps to preserve configuration between upgrades.
  13.  
  14. Deployers should not have to edit this file.
  15. </description>
  16.  
  17. <bean id="log4jInitialization" class="org.jasig.cas.util.CasLoggerContextInitializer"
  18. c:logConfigurationField="log4jConfiguration"
  19. c:logConfigurationFile="file:///var/lib/tomcat6/webapps/cas4/WEB-INF/classes/log4j2.xml"
  20. c:loggerContextPackageName="org.apache.logging.log4j.web"/>
  21.  
  22. <!--
  23. c:logConfigurationFile="${log4j.config.location:classpath:log4j2.xml}"
  24. -->
  25.  
  26.  
  27. </beans>
Advertisement
Add Comment
Please, Sign In to add comment