> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:freeradius-
> [EMAIL PROTECTED] On Behalf Of Graeme Hinchliffe
> Sent: Monday, August 02, 2004 3:21 AM
> To: FreeRADIUS list
> Subject: RE: A suggestion
> 
> On Fri, 2004-07-30 at 17:53, Anson Rinesmith wrote:
> > 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.
> 
> If you use yacc to parse the tokens it would work perfectly.  You could
> specify the standard line header (date etc), then at the point you
> identify the line, you could also specify what attributes are part of
> that particular line, so the number of attributes/tokens can be
> different as long as there is a recognisable relationship.

There in lies the problem. At what point can you make that recognizable
relationship. Does anyone know where I can find a list of all possible
messages output to radius.log?

> 
> Graeme
> 
> >
> > > -----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
> --
> -----
> 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