Hi,

Thanks for your bugreport!

Op Mon  4 Feb 2008 om 04:55:48 +0100 schreef Mikolaj Menke:
> Package: lire
> Version: 2:2.0.2-3
> Severity: normal
> 
> 
> Seems like spamassassin2dlf is no more compatible with spamassassin logs, my
> spamassassin version is 3.2.3.
> 
> menek:~# lr_log2report spamassassin /var/log/spamd/spamd.log spam
> Parsing log file using spamassassin DLF Converter...
> lr_log2report: ERROR old-style DLF converter exited with non-zero status: 256
> 
> menek:~# ./spamassassin2dlf /var/log/spamd/spamd.log
> all all UNSET spamassassin2dlf info started with /var/log/spamd/spamd.log
> all all UNSET spamassassin2dlf err 'Mon Feb  4 15:44:38 2008 [16959] info: 
> \config: failed to parse, now a plugin, skipping, in 
> \"/etc/spamassassin/local.cf": ok_languages en pl' wasn't recognized as a 
> valid
> \ syslog format. 
> all all UNSET spamassassin2dlf err If this indeed comes from a syslog variant,
> \ please contact [EMAIL PROTECTED]
> all all UNSET spamassassin2dlf err with your version of syslog so that 
> support 
> \can be added for it.
> all all UNSET spamassassin2dlf info elapsed time in seconds real=0 user=0.74 
> \system=0.01
> all all UNSET spamassassin2dlf info stopped

It seems it's not spamassassin, but your syslog which makes Lire choke.

Please try to run:

 while read wday month day time year pid level rest;
 do
  echo $month $day $time localhost spamassassin$pid $rest;
 done < /var/log/spamd/spamd.log | lr_log2report spamassassin > spam

.

This would mangle your syslog stuff to a more common format, likely
understandable by Lire.

Please report if this helps.

Thanks, Bye,

Joost

-- 
.    .                           Log Analysis and Report Generation
| '.|        /^LogReport$/
| Lire                                    http://www.logreport.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to