(RADIATOR) Safe to <AuthLog FILE> to AcctLogFileName?

Kitabjian, Dave dave at netcarrier.com
Tue Jun 12 15:08:13 CDT 2001


We want to add some "Accounting" records of our own to log, for example,
when and why users are rejected access. Because we already have a
sophisticated system in place for collecting accounting data, parsing it,
and making it available to our TSR's via VB, we want to use the same channel
to collecting this new data. 

Using <AuthLog FILE> and a custom FailureFormat including %r, %0 and %1,
this works very nicely :) The question is...

Is it safe to write to the same file as AcctLogFileName? I guess another way
of asking is, is the AuthLog FILE write operation atomic? 

The reason I'm concerned is because now, for the first time, I'll have two
processes accessing that file at once; and since our Authentication and
Accounting are handled by separate Radiators, and the AuthLog is used by
Authentication and the AcctLogFileName is used by Accounting, corruption
could occur.

Thanks in advance!

Dave 
NetCarrier, Software Engineering

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list