HI Elliot,
Radiator does not flock log files. It always opens, writes and closes for
every entry, so you can safely rotate any time you like.
It might be helpful to use the special characters in the AcctLogFileName to
write to a different file each month (or day or whatever) so you wont have
to even rotate them.
Hope that helps.
Cheers.
----------------------------------------------------------------------------
---------------
Mike McCauley [EMAIL PROTECTED]
Open System Consultants +61 3 9598 0985
Mike is travelling right now, and there may be delays
in our correspondence.
-----Original Message-----
From: Elliot Finley <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, March 01, 1999 2:40 PM
Subject: (RADIATOR) Q: detail buffering
Hello,
If I have radiator logging detail to /some/detail, and I want to
do something like this on the first or second day of each month:
mv /some/detail /some/tmp
process /some/tmp and extract last month's records
rewrite /some/tmp to contain only this month's records
cat /some/tmp /some/detail > /some/detail
Does radiator use flock locking? Will I lose data doing this? What
about if I just flock /some/detail and process it in place and rewrite
it to contain only this months records, will I lose data then? Will
radiator buffer any accounting records while /some/detail is locked?
--
Elliot ([EMAIL PROTECTED])
"The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD."
=
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.