This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<jboss-deployment-structure> | |
<deployment> | |
<exclusions> | |
<module name="org.apache.log4j"/> | |
<module name="org.slf4j"/> | |
<module name="org.slf4j.impl"/> | |
<module name="org.jboss.logging"/> | |
<module name="org.apache.commons.logging"/> | |
<module name="org.jboss.logging.jul-to-slf4j-stub"/> |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://java.sun.com/xml/ns/javaee" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | |
id="oasis-web" version="2.5"> | |
<display-name>oasis-web</display-name> | |
<context-param> | |
<param-name>contextConfigLocation</param-name> | |
<param-value>applicationContext.xml</param-value> |
This file contains 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
package hu.ka.log4j; | |
import org.springframework.util.Log4jConfigurer; | |
import org.springframework.web.util.Log4jConfigListener; | |
import javax.servlet.ServletContextEvent; | |
import java.io.FileNotFoundException; | |
public class SystemPropertyLog4jConfigurer extends Log4jConfigListener { |