<div dir="ltr">Hi Chris,<div><br></div><div>It looks like Stax support was accidentally merged from logback 1.1.0 into the latest release of logback-android [1]. I've reverted that particular commit [2], and it will be in the next release some time this week. I'll look into creating an integration test to prevent such errors in the future.</div>

<div><br></div><div>In the meantime, you can add a Proguard rule to ignore those warnings or to remove the offending package: <span style="font-size:14px;font-family:arial,sans-serif">ch.qos.logback.core.joran.</span><span style="font-size:14px;font-family:arial,sans-serif">event.stax</span></div>

<div><br></div><div>Tony</div><div><br></div><div>[1] <a href="https://github.com/tony19/logback-android/commit/586e77a3d56908a2ba7d0ed6ec62cc7e1f61f64d">https://github.com/tony19/logback-android/commit/586e77a3d56908a2ba7d0ed6ec62cc7e1f61f64d</a></div>

<div>[2] <a href="https://github.com/tony19/logback-android/commit/82fcc90fa922f11c67dca4663f5575fe3c4d69ae">https://github.com/tony19/logback-android/commit/82fcc90fa922f11c67dca4663f5575fe3c4d69ae</a></div><div><br></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 7, 2014 at 2:25 PM, Chris Kelly <span dir="ltr"><<a href="mailto:chris@thursby.com" target="_blank">chris@thursby.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I've been building an app with log back-android and have it configured to use file and logcat appenders. It works exactly as I want when building a debug version via Eclipse ADT or with 'ant debug'. However, with a release build and Proguard enabled, I have ~50 warnings locating referenced classes from the  javax.xml.Stream package. As far as I can tell, this package doesn't existin in android. Is there any additional dependency I have overlooked?<br>


<br>
I have downloaded both the slf4j and logback-android jar's and added the documented Proguard rules to my project as well.<br>
<br>
Below is a sample of my 'ant release' build log where project1 is my app and dependency is an android library project.<br>
<br>
[proguard] Reading input...<br>
 [proguard] Reading program jar [/Users/chris/Projects/android/Android/project1/bin/proguard/original.jar]<br>
 [proguard] Reading program jar [/Users/chris/Projects/android/Android/dependency/bin/classes.jar]<br>
 [proguard] Reading program jar [/Users/chris/Projects/android/Android/Licensing/bin/classes.jar]<br>
 [proguard] Reading program jar [/Users/chris/Projects/android/Android/dependency/libs/slf4j-api-1.7.6.jar]<br>
 [proguard] Reading program jar [/Users/chris/Projects/android/Android/dependency/libs/logback-android-1.1.1-2.jar]<br>
 [proguard] Reading program jar [/Users/chris/Projects/android/Android/project1/libs/android-support-v4.jar]<br>
 [proguard] Reading library jar [/Users/chris/Projects/android/adt-bundle-mac-x86_64-20140624/sdk/platforms/android-19/android.jar]<br>
 [proguard] Initializing...<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.BodyEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.BodyEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.BodyEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.BodyEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.EndEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.EndEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.EndEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.EndEvent: can't find referenced class javax.xml.stream.Location<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.StartEvent: can't find referenced class javax.xml.stream.events.Attribute<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.StartEvent: can't find referenced class javax.xml.stream.events.Attribute<br>
 [proguard] Warning: ch.qos.logback.core.joran.event.stax.StartEvent: can't find referenced class javax.xml.stream.Location<br>
<br>
<br>
Thanks for the help,<br>
Chris<br>
<br>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote></div><br></div>