<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <appender name="LOGCAT"
        class="ch.qos.logback.classic.android.LogcatAppender" >
        <checkLoggable>false</checkLoggable>
        <encoder>
            <pattern>%msg</pattern>
        </encoder>
    </appender>

    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <!-- daily rollover -->
            <fileNamePattern>${EXTERNAL_STORAGE}/Holiday.%d{yyyy-MM-dd}.log</fileNamePattern>
            <TimeBasedFileNamingAndTriggeringPolicy class="org.openecard.android.StartupTimeBasedTriggeringPolicy" />
            <!-- keep 7 days' worth of history -->
            <maxHistory>7</maxHistory>
        </rollingPolicy>
        <encoder>
            <pattern>%date{ISO8601} [%thread] %-5level %class{35}:%line - %msg%n</pattern>
        </encoder>
    </appender>

    <root level="INFO">
        <appender-ref ref="FILE" />
        <appender-ref ref="LOGCAT" />
    </root>
</configuration>
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <appender name="LOGCAT"
        class="ch.qos.logback.classic.android.LogcatAppender" >
        <checkLoggable>false</checkLoggable>
        <encoder>
            <pattern>%msg</pattern>
        </encoder>
    </appender>

    <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${EXTERNAL_STORAGE}/Holiday.log</file>
        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <!-- daily rollover -->
            <fileNamePattern>${EXTERNAL_STORAGE}/Holiday.%d{yyyy-MM-dd}.log</fileNamePattern>
            <TimeBasedFileNamingAndTriggeringPolicy class="org.openecard.android.StartupTimeBasedTriggeringPolicy" />
            <!-- keep 7 days' worth of history -->
            <maxHistory>7</maxHistory>
        </rollingPolicy>
        <encoder>
            <pattern>%date{ISO8601} [%thread] %-5level %class{35}:%line - %msg%n</pattern>
        </encoder>
    </appender>

    <root level="INFO">
        <appender-ref ref="FILE" />
        <appender-ref ref="LOGCAT" />
    </root>
</configuration>
Put file config back in for logging
Put file config back in for logging
