Category.callAppenders :
public void callAppenders(LoggingEvent event) {
int writes = 0;
int writes = 0;
for (Category c = this; c != null; c = c.parent) {
synchronized (c) {
if (c.aai != null)
writes += c.aai.appendLoopOnAppenders(event);
synchronized (c) {
if (c.aai != null)
writes += c.aai.appendLoopOnAppenders(event);
if (!(c.additive)) {
monitorexit; break label67:
}
}
}
monitorexit; break label67:
}
}
}
if (writes == 0)
label67: this.repository.emitNoAppenderWarning(this);
}
label67: this.repository.emitNoAppenderWarning(this);
}
(thanks to Fabien for this finding)
No comments:
Post a Comment