[Bug 41214] Deadlock with RollingFileAppender

2012-07-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41214 --- Comment #43 from msm --- (In reply to comment #42) I didn't think exactly about getting a snapshot. I just thought defining "message" instance field as the type String would fix the bug merely because inside toString() method of the St

Alternative API for Category.log()

2012-07-05 Thread Sira, Amardeep
Hi, Given that the Category and Priority classes are now deprecated, I am looking for an alternative API for "http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html#log(java.lang.String, org.apache.log4j.Priority, java.lang.Object, java.lang.Throwable)