i want to setup a log in the servlet what all necesary things i has to do for the same means the log files are created by fileappender and is done by the log4j.cml file but the new log file is not creating
the log4j.xml file is in the src folder it has the param of
Java Code:
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
    <appender name="APPENDER1" class="org.apache.log4j.DailyRollingFileAppender">
        <param name="Threshold" value="DEBUG"/>
        <param name="Append" value="true"/>
        <param name="File" value=".\\logs\\sample.log"/>
        <param name="DatePattern" value="'.'yyyy-MM-dd"/><!-- roll over every day at midnight-->
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%d %-8r   [%-50c] %-5p - %m%n"/>
how can i start in log4j please give me the steps
thanks in advance