[logback-user] has problem with 'multi process append log to one file', need help!

Aruforce aruforce at 163.com
Thu Nov 28 04:03:47 CET 2019


Hi:
 same as the title;
 recently,Our system has been transformed into a distributed system with all log append to same file; (ELK need more machine,can  not take it)
 but only one service can log success ,(others all failed,but can lot catalina.out)  <configuration debug="true">, but Unable to track problem with logback self logs(has no log about filelock);


reviewed Code `FileAppender.safeWrite()` ,it has file lock ;


here is some linxu echos , may help;


thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20191128/3cea7ccb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13835 bytes
Desc: not available
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20191128/3cea7ccb/attachment.png>


More information about the logback-user mailing list