Hello Jay,


On Mar 30,  8:13am, Jay West wrote:
> Subject: (RADIATOR) bothersome error messages (radmin.cfg)
> Ok, it appears to be a bug.... or an oversight at least....
>
> Radiator creates the log file (RADLOG) with columns TIMESTAMP, PRIORITY, and
> MESSAGE (or thereabouts). The insert statment in LogSQL is hardcoded for
> these columns names.
>
> However, when RADMIN creates its log file (RADMESSAGES) it creates the
> columns TIMESTAMP, TYPE, and MESSAGE. But there is no LOG RADMIN clause in
> your config file, so you're supposed to just use the LOG SQL clause. This
> chokes because there is no PRIORITY column.
>
> So what's the best way to fix this? You can't specify a different insert
> command with the right columns in your LOG SQL clause in your config file
> (ok, you could hack up the LogSQL.pm code, but I don't want to).

Actually, AuthBy RADMIN will log to the RADMESSAGES table automatically,
according to your curent trace level.

You should not have to do anything special to get logging.


>
> For the future release to fix this, I would see several options...
>
> 1) When the radmin install procedure creates it's log file (RADMESSAGES),
> have it use the same column names as Radiator does for RADLOG
> or
> 2) Create a LOG RADMIN clause to use instead of LOG SQL that does the right
> insert statement
> or
> 3) Allow uses to specify their own update statement in the LOG SQL clause in
> the config file so they can specify any columns they want
>
> I'd like to know how the authors intend to address this so that my "quick
> and dirty" workaround doesn't get stepped on by future releases.
>
> Thanks!
>
> Jay West
>
>
>
>
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Jay West



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
2000, NT, MacOS X
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to