Not a problem ...
The second appender seems to roll ok with the correct pattern....although 
in my case, it is the same pattern as the 1st appender.
The warning seems more an annoyance than anything else, but clearly the 
type in the RollingCalender code seems suspicious...





Ceki G�lc� <[EMAIL PROTECTED]>
11/20/2004 02:40 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 ?




Hi,

Let me look into this more carefully and give you an answer on Monday.
Shout if I forget. :-)

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 ?
>

-- 
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]



Reply via email to