That would be okay, if each field had the same number of tokens, after the
token that would identify what kind of record it is, not the case.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:freeradius-
> [EMAIL PROTECTED] On Behalf Of Graeme Hinchliffe
> Sent: Friday, July 30, 2004 10:41 AM
> To: FreeRADIUS list
> Subject: Re: A suggestion
> 
> On Fri, 2004-07-30 at 15:42, Anson Rinesmith wrote:
> 
> > Fri Jul 30 09:19:26 2004 : Info: rlm_sql (sql): Attempting to connect to
> > [EMAIL PROTECTED]:/radius
> 
> could you not use RegEx to match each portion of the logfile?
> 
> you could use something like lex/yacc to tokenise and parse the loglines
> or the whole file, and just return the individual elements you wish to
> store.  This would get around the ':' seperator problem you are having.
> 
> 
> --
> -----
> Graeme Hinchliffe (BSc)
> Core Internet Systems Designer
> Zen Internet (http://www.zen.co.uk/)
> 
> ICQ 3842605 (link)
> 
> Direct: 0845 058 9074
> Main  : 0845 058 9000
> Fax   : 0845 058 9005
> 
> 
> 
> 
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to