[fpc-pascal] TEventLog rewrite the log file

ik idokan at gmail.com
Tue Dec 28 14:14:32 CET 2010


On Tue, Dec 28, 2010 at 15:06, Michael Van Canneyt
<michael at freepascal.org>wrote:

>
>
> On Tue, 28 Dec 2010, ik wrote:
>
>  Hello,
>>
>> I've started using the TEventLog class and it seems to rewrite any existed
>> content of the
>> log file instead of append it.
>> The code uses fmCreate, so I do not understand why it rewrite the content.
>> is it a bug, or
>> am I missing something ?
>>
>
> Using fmCreate always rewrites.
>
> Appending is currently not supported.
>
> I'm not against implementing such feature, but it's not high on my todo
> list.
>

Will try to patch it (add property of "toappend" or something like that)
this weekend :)


>
> Michael.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>


Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101228/bd713f20/attachment.html>


More information about the fpc-pascal mailing list