<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi:</div><div> same as the title;</div><div> 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)</div><div> but only one service can log success ,(others all failed,but can lot catalina.out)  <span style="font-family: Consolas; font-size: 9.8pt; white-space: pre-wrap; background-color: rgb(239, 239, 239);"><</span><span style="font-family: Consolas; font-size: 9.8pt; white-space: pre-wrap; color: rgb(0, 0, 128); background-color: rgb(239, 239, 239); font-weight: bold;">configuration </span><span style="font-family: Consolas; font-size: 9.8pt; white-space: pre-wrap; color: rgb(0, 0, 255); background-color: rgb(239, 239, 239); font-weight: bold;">debug</span><span style="font-family: Consolas; font-size: 9.8pt; white-space: pre-wrap; color: rgb(0, 128, 0); background-color: rgb(239, 239, 239); font-weight: bold;">="true"</span><span style="font-family: Consolas; font-size: 9.8pt; white-space: pre-wrap; background-color: rgb(239, 239, 239);">>,  but </span><font face="Consolas"><span style="font-size: 13.0667px; white-space: pre-wrap;">Unable to track problem with logback self logs(has no log about filelock);</span></font></div><div><br></div><div><font face="Consolas"><span style="font-size: 13.0667px; white-space: pre-wrap;"> reviewed Code </span></font><span style="font-size: 13.0667px; white-space: pre-wrap; font-family: Consolas;">`FileAppender.</span><span style="font-family: Consolas; font-size: 9.8pt; white-space: pre-wrap;">safeWrite()</span><span style="font-size: 13.0667px; white-space: pre-wrap; font-family: Consolas;">` ,it has file lock ;</span></div><div><br></div><div>here is some linxu echos , may help;</div><div><img src="cid:5d019bce$1$16eaff53d0c$Coremail$aruforce$163.com" orgwidth="874" orgheight="67" data-image="1" style="width: 874px; height: 67px;"></div><div><br></div><div>thanks a lot!</div></div>