Re: [fpc-pascal] TEventLog rewrite the log file

2011-01-01 Thread ik
Hi, I have patched the issue and placed it here ( http://bugs.freepascal.org/view.php?id=18355). 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 des

Re: [fpc-pascal] TEventLog rewrite the log file

2010-12-28 Thread ik
On Tue, Dec 28, 2010 at 15:06, Michael Van Canneyt 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 r

Re: [fpc-pascal] TEventLog rewrite the log file

2010-12-28 Thread Michael Van Canneyt
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