tony19/logback-android — Issue #6: logging file to sdcard failed
Author: wqwu
Created: 2012-02-07 06:44:24+00:00
State: open

reproduce steps:
1. logback.xml is defined like this:

%logger{0}

%message at \(%file:%line\) %n

/mnt/sdcard/log/ttt.log

%d{yyyy-MM-dd}.log
5

[%d] [%-5level] - %message %n

2. switch sdcard status to on, and I can open this disk driver in my windows env.
3. switch sdcard status to off, do some operations in android app

expected result:
the log can be printed to /mnt/sdcard/log/ttt.log

real result:
the log was dropped for file appendder, only output to logcat