[logback-user] Time and Size-based rolling policy not working

Matthias Kretschmar mkr at archikart.de
Thu Apr 8 07:27:31 CEST 2010


Hi Tyler,

I think the time and size based rolling is a relativly new feature. It
looks like your logback is too old for using this. Your Jars do not
contain the mentioned class
ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP. So try updating to
the latest logback. I think this would help.

Matthias


Am 07.04.2010 23:51, schrieb Tyler Kocheran:
> I have created a test project to see if I can use logback's size and
> time-based rolling policy to roll over to log files as logs get large
> and as
> time passes. However, I cannot get it to roll over. It instead always logs
> to the file I've specified in the <file> tag.
>
> I have attached my project's full, ant-buildable source code to show
> my code
> and to possibly help get the ball rolling on figuring all of this out. Can
> anyone help me get time/size based file rolling working?
>
> http://old.nabble.com/file/p28171419/logback.zip (This is the Java
> project)
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100408/d84fe12e/attachment.html>


More information about the Logback-user mailing list