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

Reply via email to