Yes, roll and compress. I've seen it documented (would need to refind a 
reference), and have used it e.g. with the Shibboleth IdP, though the latter 
uses logback.

I didn't go with DailyRollingFileAppender because of a comment in its source 
recommending against using it for new deployments (some kind of bug that loses 
log entries). The rolling.RollingFileAppender is supposed to be an improvement.

Thanks.
Tom.

On Jun 13, 2013, at 9:39 AM, Marvin S. Addison <[email protected]> wrote:
>>     <appender name="cas" 
>> class="org.apache.log4j.rolling.RollingFileAppender">
...
> rom the config above looks like you're trying to roll and compress in one 
> shot, which I've never seen done. DailyRollingFileAppender works splendidly 
> for rolling files on day boundaries:
> 
>  <!-- CAS application log -->
>  <appender name="cas"
>    class="org.apache.log4j.DailyRollingFileAppender">


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to