However, when I export the application and obfuscate the code using Proguard, it does not work correctly (I'm using FileAppder, and the file is not created).
<configuration>
<appender
name="userClicksAppender"
class="ch.qos.logback.core.FileAppender" >
<file>
/sdcard/Test/data/log.txt
</file>
<append>
true
</append>
<encoder class="com.android.gooapplication.model.MyEncoder" >
<pattern>
%-4relative [%thread] %-5level %logger{35} - %msg%n
</pattern>
</encoder>
</appender>
<logger name="userClicksLogger" >
<appender-ref ref="userClicksAppender" />
</logger>
</configuration>
I tried to skip the class MyEncoder and the whole packages of logback in the proguard config file as follows:
-keep public class com.android.gooapplication.model.MyEncoder
-keep public class ch.qos.logback.**
-keep public public class org.slf4j.**
but still with no success.
what do you think?
Many thanks,
Omer.