[logback-user] rolling in logback-android

Peter Chmiel PChmiel at exclaim.com
Wed Sep 21 03:17:26 CEST 2011


Does logback-android support rolling?

When I try using the configuration file below in an android app I get an error - No applicable action for [rollingPolicy].  But the same config works in a java project that uses logback.


    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">

        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">

        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</Pattern>

    <root level="debug">
        <appender-ref ref="FILE" />

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

More information about the Logback-user mailing list