My suggestion would be try to load the ArhiveRemoverRunnable class directly and follow the trail from there.
class Foo {
void foo() {
ClassLoader cl = this.getClass().getClassLoader()
cl.loadClass("ch/qos/logback/core/rolling/helper/TimeBasedArchiveRemover$ArhiveRemoverRunnable")
}
}
Add class Foo to your fat jar and invoke the foo method to see the behavior. In any case, this is not a bug in logback. As such, I am marking this issue as NOT_A_BUG. Please post on the logback-user mailing list to continue this discussion. |