<div dir="ltr">Hi,<br><br>I have patched the issue and placed it here (<a href="http://bugs.freepascal.org/view.php?id=18355">http://bugs.freepascal.org/view.php?id=18355</a>).<br><br>Now I need time to think how to make the ability to add a feature for "log rotate" like with the Log4r, and how we can choose to make all of our output to go to the log if we choose it (I mean the design rather then the actual work), and I think this class will be perfect :)<br>
<br>Ido<br><br clear="all"><div dir="ltr">LINESIP - Opening the source for communication<br><a href="http://www.linesip.com" target="_blank">http://www.linesip.com</a><br><a href="http://www.linesip.co.il" target="_blank">http://www.linesip.co.il</a><br>
<br></div><br>
<br><br><div class="gmail_quote">On Tue, Dec 28, 2010 at 15:14, ik <span dir="ltr"><<a href="mailto:idokan@gmail.com">idokan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div class="gmail_quote"><div class="im">On Tue, Dec 28, 2010 at 15:06, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br>
<br>
On Tue, 28 Dec 2010, ik wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I've started using the TEventLog class and it seems to rewrite any existed content of the<br>
log file instead of append it.<br>
The code uses fmCreate, so I do not understand why it rewrite the content. is it a bug, or<br>
am I missing something ?<br>
</blockquote>
<br></div>
Using fmCreate always rewrites.<br>
<br>
Appending is currently not supported.<br>
<br>
I'm not against implementing such feature, but it's not high on my todo list.<br></blockquote></div><div><br>Will try to patch it (add property of "toappend" or something like that) this weekend :)<br> </div>
<div class="im">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Michael.<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div></div><br><br>Ido<br></div>
</blockquote></div><br></div>