<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="TR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Dear Logback Team;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Have a problem with logback .<o:p></o:p></p>
<p class="MsoNormal">Have a logback.xml file find it below. Each thread has a single log file. However, cant recognize file is done or thread is done with looking the file. File is not locked or something (tried to lock the file by extending fileappender but
cant succeed) . I don’t would like to write a code to get content of file which I mean, dont wanna write a some symbol to find out file is done. I also used, triggeringPolicy cant succeed..<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><appender name="SIFT" class="XXXXX.SiftingAppender"><o:p></o:p></p>
<p class="MsoNormal"> <discriminator><o:p></o:p></p>
<p class="MsoNormal"> <key>fileLocation</key><o:p></o:p></p>
<p class="MsoNormal"> <defaultValue>${user.home}\start.log</defaultValue><o:p></o:p></p>
<p class="MsoNormal"> </discriminator><o:p></o:p></p>
<p class="MsoNormal"> <sift><o:p></o:p></p>
<p class="MsoNormal"> <appender name="FILE-${fileLocation}" class="ch.qos.logback.core.FileAppender"><o:p></o:p></p>
<p class="MsoNormal"> <file>${fileLocation}</file><o:p></o:p></p>
<p class="MsoNormal"> <append>false</append><o:p></o:p></p>
<p class="MsoNormal"> <encoder><o:p></o:p></p>
<p class="MsoNormal"> <pattern>%msg%n</pattern><o:p></o:p></p>
<p class="MsoNormal"> </encoder><o:p></o:p></p>
<p class="MsoNormal"> </appender><o:p></o:p></p>
<p class="MsoNormal"> </sift><o:p></o:p></p>
<p class="MsoNormal"></appender><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I just would like to change extension when thread is done .log to .xml, or lock the file while end of the thread, or move the file end of the thread.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many many thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Have a nice day,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<span style="font-family:Arial;font-size:10pt;color:#767676"><b>Hasan Birol</b> <br>
<font size="small">Yazılım Danışmanı - Software Consultant <br>
Yazılım Geliştirme Sistemleri ve Platform Uygulamaları Bölümü - Software Development Frameworks and Platform Applications
<br>
<b>T: </b> <br>
<b>E: </b>Hasan.Birol@ing.com.tr <br>
</span></font><a href="https://www.ing.com.tr"><img src="http://image.ing.com.tr/EmailBanner/ING_LOGO_89x42px-02.png"></a>
<br>
<HR><Font face=arial size=1 color=black><I>
<a href="https://www.ing.com.tr/">
<IMG src="http://image.ingbank.com.tr/EmailBanner/Greatplacetowork_v2.jpg">
</a>
</i></font>
<p><font face="Calibri" size="1">Kisiye ozel bu mesaj ve icerigindeki bilgiler gizlidir. ING bu mesajin icerigi ve ekleri ile ilgili olarak
hukuksal hicbir sorumluluk kabul etmez. Yetkili alicilardan biri degilseniz, bu mesajin herhangi bir sekilde
ifsa edilmesi, kullanilmasi, kopyalanmasi, yayilmasi veya mesajda yeralan hususlarla ilgili olarak herhangi bir
islem yapilmasinin kesinlikle yasak oldugunu bildiririz. Boyle bir durumda lutfen hemen mesajin gondericisini
bilgilendiriniz ve mesaji sisteminizden siliniz.Internet ortaminda gonderilen e-posta mesajlarindaki hata
ve/veya
eksikliklerden veya viruslerden dolayi mesajin gondericisi herhangi bir sorumluluk kabul
etmemektedir. Tesekkur ederiz.</font>
</p>
<p><font face="Calibri" size="1">The information contained in this communication may contain
confidential or legally privileged information. ING doesn't accept any legal responsibility for the
contents and attachments of this message. If you are not the intended recipient you are hereby notified that
any disclosure, use, copying, distribution or taking any action in reliance on the contents of this information
is
strictly prohibited. If you have received this communication in error, please notify the sender immediately by
responding to this e-mail and then delete it from your system. The sender does not accept any liability for any
errors or omissions or any viruses in the context of this message which arise as a result of internet
transmission. Thank you.
</p>
</font>
<p>
</p>
</body>
</html>