[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Parsing radius.log
From:       "Thor Spruyt" <thor.spruyt () pandora ! be>
Date:       2004-07-30 17:57:48
Message-ID: 001b01c4765e$b9eac230$245ee0d5 () laptopthor
[Download RAW message or body]

Hi,

According to me, this is the start:

if ($line =~ /^([\w ]+) : (\w+): (.+)$/) {
    $datetime = $1;
    $type = $2;
    $message = $3;
}

I agree that splitting up the $message part further is not easy.
Maybe the developers could agree on a more granular logformat.

Regards,
Thor.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic