As logback 1.2.x does not use locking in OutputStreamAppender, upgrading to logback 1.2.x will probably solve the deadlock issue. However, I suspect that the deadlock issue is a symptom of an infinite loop. It might be that somehow the console output is being captured by jboss and being redirected to logging. In your configuration, logback outputs logging events to the console which if captured again result in an infinite loop. Simply writing log output to a file instead of the console should solve help. In any case, I don't think this is a bug in logback. If you think otherwise, please create a reproducible scenario or test case. In the mean time, I am resolving this issue as CANNOT REPRODUCE. |