[ https://issues.apache.org/jira/browse/LOG4J2-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15537285#comment-15537285 ]
Remko Popma edited comment on LOG4J2-1628 at 12/21/16 10:22 AM: ---------------------------------------------------------------- {code} <?xml version="1.0" encoding="UTF-8"?> <Configuration status="warn" name="pubsub" packages="org.lcogt.commons.log" verbose="true"> <Appenders> <File name="LogStash" fileName="logstash.log" locking="true" bufferSize="0"> <LCOGTLayout/> </File> </Appenders> <Loggers> <asyncLogger name="org.lcogt" level="info" additivity="false"> <AppenderRef ref="LogStash"/> </asyncLogger> </Loggers> </Configuration> {code} was (Author: markbowman): {quote} <?xml version="1.0" encoding="UTF-8"?> <Configuration status="warn" name="pubsub" packages="org.lcogt.commons.log" verbose="true"> <Appenders> <File name="LogStash" fileName="logstash.log" locking="true" bufferSize="0"> <LCOGTLayout/> </File> </Appenders> <Loggers> <asyncLogger name="org.lcogt" level="info" additivity="false"> <AppenderRef ref="LogStash"/> </asyncLogger> </Loggers> </Configuration> {quote} > Scrambled log messages > ---------------------- > > Key: LOG4J2-1628 > URL: https://issues.apache.org/jira/browse/LOG4J2-1628 > Project: Log4j 2 > Issue Type: Bug > Components: Appenders > Affects Versions: 2.6.2 > Environment: centos > Reporter: Mark Bowman > > We have several threads writing to an async file with locking set to true. > Under log4j 2.5 the message from each thread are interleaved correctly. Using > log4j 2.6.2 some messages are scrambled as if multiple threads are writing to > the file simultaneously. Reverting to 2.5 fixes the problem. > Configuration to follow. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org