where do I put log4j.xml weblogic eclipse
<p>I work with java 1.6, Eclipse Juno, weblogic 10.3.6, Maven.</p>

<p>I want to configure log4j in my project . I added log4j dependencies in pom.xml. I configured log4j.xml</p>

<p>But when I deploy my project from eclipse using weblogic server, log4j doesn't start. In the console I don't see log4j messages.</p>

<p>I believe that is a place log4j.xml problem</p>

<p>How do I have to configure log4j in server weblogic?</p>

<p>My project has the following structure </p>

<p><a href="https://i.stack.imgur.com/SVBNO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SVBNO.png" alt="Project Structure"></a></p>

<p>My pom.xml is</p>

<pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;eusurveyadmin&lt;/groupId&gt;
    &lt;artifactId&gt;eusurveyadmin&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;build&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                &lt;configuration&gt;
                    &lt;source&gt;1.6&lt;/source&gt;
                    &lt;target&gt;1.6&lt;/target&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.4&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;

        &lt;/plugins&gt;
    &lt;/build&gt;
    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
            &lt;version&gt;3.2.6.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-webmvc&lt;/artifactId&gt;
            &lt;version&gt;3.2.6.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework&lt;/groupId&gt;
            &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
            &lt;version&gt;3.2.6.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;commons-logging&lt;/groupId&gt;
            &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
            &lt;version&gt;1.1.3&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
            &lt;artifactId&gt;jstl&lt;/artifactId&gt;
            &lt;version&gt;1.2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;jstl&lt;/groupId&gt;
            &lt;artifactId&gt;jstl&lt;/artifactId&gt;
            &lt;version&gt;1.2&lt;/version&gt;
            &lt;scope&gt;compile&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;antlr&lt;/groupId&gt;
            &lt;artifactId&gt;antlr&lt;/artifactId&gt;
            &lt;version&gt;2.7.7&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
            &lt;artifactId&gt;hibernate-c3p0&lt;/artifactId&gt;
            &lt;version&gt;4.1.3.Final&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
            &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
            &lt;version&gt;4.1.3.Final&lt;/version&gt;
            &lt;type&gt;jar&lt;/type&gt;
            &lt;!-- &lt;scope&gt;compile&lt;/scope&gt; --&gt;
        &lt;/dependency&gt;



        &lt;dependency&gt;
            &lt;groupId&gt;com.oracle&lt;/groupId&gt;
            &lt;artifactId&gt;ojdbc6&lt;/artifactId&gt;
            &lt;version&gt;11.2.0&lt;/version&gt;
        &lt;/dependency&gt;



        &lt;dependency&gt;
            &lt;groupId&gt;log4j&lt;/groupId&gt;
            &lt;artifactId&gt;log4j&lt;/artifactId&gt;
            &lt;version&gt;1.2.15&lt;/version&gt;
            &lt;exclusions&gt;
                &lt;exclusion&gt;
                    &lt;groupId&gt;javax.mail&lt;/groupId&gt;
                    &lt;artifactId&gt;mail&lt;/artifactId&gt;
                &lt;/exclusion&gt;
                &lt;exclusion&gt;
                    &lt;groupId&gt;javax.jms&lt;/groupId&gt;
                    &lt;artifactId&gt;jms&lt;/artifactId&gt;
                &lt;/exclusion&gt;
                &lt;exclusion&gt;
                    &lt;groupId&gt;com.sun.jdmk&lt;/groupId&gt;
                    &lt;artifactId&gt;jmxtools&lt;/artifactId&gt;
                &lt;/exclusion&gt;
                &lt;exclusion&gt;
                    &lt;groupId&gt;com.sun.jmx&lt;/groupId&gt;
                    &lt;artifactId&gt;jmxri&lt;/artifactId&gt;
                &lt;/exclusion&gt;
            &lt;/exclusions&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
&lt;/project&gt;
</code></pre>

<p>log4j.xml is</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd"&gt;
&lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"&gt;

    Appenders
    &lt;appender name="console" class="org.apache.log4j.ConsoleAppender"&gt;
        &lt;param name="Target" value="System.out" /&gt;
        &lt;layout class="org.apache.log4j.PatternLayout"&gt;
            &lt;param name="ConversionPattern" value="%-5p: %c - %m%n" /&gt;
        &lt;/layout&gt;
    &lt;/appender&gt;

    &lt;appender name="info" class="org.apache.log4j.RollingFileAppender"&gt;
        &lt;param name="File" value="C:/temp/logs/esurveyadmin-info.log" /&gt;
        &lt;param name="MaxFileSize" value="4096KB" /&gt;
        &lt;param name="MaxBackupIndex" value="20" /&gt;
        &lt;param name="Append" value="true" /&gt;
        &lt;param name="Threshold" value="Info" /&gt;
        &lt;layout class="org.apache.log4j.PatternLayout"&gt;
            &lt;param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}-%-4r [%t] (%F:%L) %-5p %c %x - %m%n" /&gt;
        &lt;/layout&gt;
    &lt;/appender&gt;

    &lt;appender name="error" class="org.apache.log4j.RollingFileAppender"&gt;
        &lt;param name="File" value="C:/temp/logs/esurveyadmin-error.log" /&gt;
        &lt;param name="MaxFileSize" value="5120KB" /&gt;
        &lt;param name="MaxBackupIndex" value="20" /&gt;
        &lt;param name="Append" value="true" /&gt;
        &lt;param name="Threshold" value="Error" /&gt;
        &lt;layout class="org.apache.log4j.PatternLayout"&gt;
            &lt;param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss}-%-4r [%t] (%F:%L) %-5p %c %x - %m%n" /&gt;
        &lt;/layout&gt;
    &lt;/appender&gt;

    &lt;category name="org.hibernate.engine.jdbc.spi.SqlExceptionHelper"&gt;
        &lt;priority value="off"/&gt;
    &lt;/category&gt;

    &lt;logger name="com.eusurveyadmin.controller"&gt;
        &lt;level value="info" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;

    &lt;logger name="eusurveyadmin.daos.implementacion"&gt;
        &lt;level value="info" /&gt;
        &lt;appender-ref ref="console" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;
&lt;!-- 3rdparty Loggers --&gt;
    &lt;logger name="org.springframework.core"&gt;
        &lt;level value="warn" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;

    &lt;logger name="org.springframework.beans"&gt;
        &lt;level value="warn" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;

    &lt;logger name="org.springframework.context"&gt;
        &lt;level value="warn" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;

    &lt;logger name="org.springframework.web"&gt;
        &lt;level value="warn" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;


&lt;logger name="org.hibernate"&gt;
        &lt;level value="warn" /&gt;
        &lt;appender-ref ref="error" /&gt;
        &lt;appender-ref ref="info" /&gt;
    &lt;/logger&gt;

    &lt;!-- Root Logger --&gt;
    &lt;root&gt;
        &lt;priority value="warn" /&gt;
        &lt;appender-ref ref="console" /&gt; 
        &lt;appender-ref ref="info" /&gt;
        &lt;appender-ref ref="error" /&gt;
    &lt;/root&gt;


&lt;/log4j:configuration&gt;
</code></pre>

<p>Do I have to configure anymore?</p>

<p>I read other posts and I have pom.xml dependencies, log4j.xml.</p>