[slf4j-dev] [JIRA] Updates for SLF4J-515: write(StringBuilder buf, Throwable t) should be synchronized in slf4j-simple

QOS.CH (JIRA) noreply-jira at qos.ch
Thu Jul 8 23:58:00 CEST 2021


SLF4J / SLF4J-515 [In Progress]
write(StringBuilder buf, Throwable t) should be synchronized in slf4j-simple

==============================

Here's what changed in this issue in the last few minutes.

There is 1 comment.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-515

==============================
 1 comment
------------------------------

Ceki Gülcü on 08/Jul/21 11:43 PM
[~tibor17] I have added a {{ReentrantLock.tryLock(200, TimeUnit.MILLISECONDS)} call in the {{SimpleLogger.write(StringBuffer, Throwable)}} method. 

The idea is to allow for ordered outputs but avoid deadlocks. 

Please let me know if this works for you. 


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the slf4j-dev mailing list