logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regele, Manfred" <Manfred.Reg...@Adig.de>
Subject problems configuring RollingFileAppener
Date Fri, 04 Jan 2002 11:56:38 GMT

I try to configure an RollingFileAppender. It logs fine, but I want it to
switch the logfile
each day - but that does not happen.

Do I have a typo or such thing wrong in my configuration file ?

    <appender name="LOGFILE"

        <param name="File"
value="d:/prg/tomcat/logs/vbh-wc_log4j.txt" />
        <param name="DatePattern" value="'.'yyyy-MM-dd" />
        <param name="Append"       value="true" />

        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="%-20d %-9t %-5p [%-18x]
%-20c{2} - %m%n"/>

Manfred Regele 
Dipl. Betriebswirt (BA)
ADIG Investment GmbH
22 Methoden&Tools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308

To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message