stataru8 opened a new issue, #762:
URL: https://github.com/apache/karaf-decanter/issues/762

   
[FileAppender.handleEvent()](https://github.com/apache/karaf-decanter/blob/c645c4b21734eddd302c099da7ba1ae320e96e2a/appender/file/src/main/java/org/apache/karaf/decanter/appender/file/FileAppender.java#L71)
 writes the marshalled event and the line separator in two calls (`write()` 
then `newLine()`) on a shared `BufferedWriter`. Event Admin delivers events 
from several threads (`decanter-common` sets `ThreadPoolSize=40`), so two 
events can be written before either newline. The result is two events on one 
line, followed by a blank line. For example, with the CSV marshaller:
   
   ```
   seq=0,thread=32,event.topics=testTopicseq=0,thread=21,event.topics=testTopic
   
   seq=0,thread=23,event.topics=testTopic
   seq=0,thread=19,event.topics=testTopic
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to