Subject | Re: [firebird-support] Re: Firebird.log file size |
---|---|
Author | Helen Borrie |
Post date | 2005-06-09T01:18:29Z |
At 11:11 AM 9/06/2005 +1000, I wrote:
1) that you will be prevented from renaming it if the server actually has
it open; 2) it will guarantee that you won't get an exception from the
filesystem if the server needs write access (create or open for write)
while the archiving process is running and 3) the renamed file can be given
some useful name for the purpose of tracing network problem history.
./hb
>At 05:04 PM 8/06/2005 +0000, you wrote:Rename the log file before you archive/delete it. That has three benefits
>
> >What about removing the file with Firebird running?
>
>It doesn't seem to mind.
>
> >Does it keep the
> >file open or open/closes it every time it needs to log something?
>
>It doesn't appear to create a new log file until it actually needs to write
>something. So you should be OK to archive your log files during 24/7
>operation. Test it.
1) that you will be prevented from renaming it if the server actually has
it open; 2) it will guarantee that you won't get an exception from the
filesystem if the server needs write access (create or open for write)
while the archiving process is running and 3) the renamed file can be given
some useful name for the purpose of tracing network problem history.
./hb