OK , I'll ask the big question ... When are we going to see the
documentation which is currently lacking ?
Are there plans to update your manual to 1.3 ?
I have accessed the 1.3 javadocs and find them useful.
But I need to see real examples and explanations.
Real examples in a format that makes them readily available.
Searching the forums is not particualrly useful.
It is frustrating to code at the 1.3 level using the 1.2.8 (1.2.9)
documentation.
Ceki G�lc� <[EMAIL PROTECTED]>
11/22/2004 04:00 PM
Please respond to "Log4J Users List"
To: "Log4J Users List" <[EMAIL PROTECTED]>
cc:
Subject: Re: Unknown periodity - Is DailyRollingFileAppender
broken in log4j 1.3
alpha ?
From what I can tell thus far, the RollingAppender in the new rolling
package works very nicely.
In version 1.3, org.apache.log4j.DailyRollingFileAppender
and org.apache.log4j.RollingFileAppender classes have been removed. They
have been replaced by org.apache.log4j.rolling.RollingFileAppender for
which documentation is currently lacking.
However, you can try
<appender name="ROLL"
class="org.apache.log4j.rolling.RollingFileAppender">
<rollingPolicy
class="org.apache.log4j.rolling.TimeBasedRollingPolicy">
<param name="fileNamePattern"
value="${fvis.home}/log/logserver.log.%d{yyyy-MM-dd_HH_mm_ss}"/>
</rollingPolicy>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%c{1} - %m%n"/>
</layout>
</appender>
HTH,
At 11:10 PM 11/18/2004, [EMAIL PROTECTED] wrote:
>I am getting the following error ...
>
>20041118 17:04:04.871 WARN [Unknown periodicity.]
>{org.apache.log4j.rolling.helpers.RollingCalendar.printPeriodicity(RollingCalendar.java:152)}
>
>
>here is the appropriate xml configuration snippet
>
><appender name="SysLog"
class="org.apache.log4j.DailyRollingFileAppender">
> <param name="File" value="${fvis.home}/log/logserver.log"/>
> <param name="DatePattern" value=".yyyyMMdd"/>
> <param name="Append" value="true"/>
> <layout class="org.apache.log4j.PatternLayout">
> <param name="ConversionPattern" value="%d{yyyyMMdd HH:mm:ss.SSS}
%-5p
>[%m]
>{%l}%n"/>
> </layout>
> </appender>
>
>This is running in productio under 1.2.8 using a non-xml configuration
>file.
>Any ideas ?
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
--
Ceki G�lc�
The complete log4j manual: http://qos.ch/eclm
Professional log4j support: http://qos.ch/log4jSupport
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]