Lire don't generate logreports

Wytze van der Raay wytze at logreport.org
Tue Aug 22 15:41:37 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21.08.2006 16:34, Kristoffer Ravnholt wrote:
> Yes, the directory /etc/lire/mail correspond to the Lire store directory
> I created under 2). But I have solved my problem, Because I can't get
> lire to work properly I created a  perl script thay do the stuff for me:
> #!/usr/bin/perl
> 
> chomp($date = `date +%F`);
> $file_name = $date . "_daily_log";
> system("lr_log2report --output html syslog /var/log/daily_log
> /var/log/archive/$file_name");
> system("lr_log2mail --output html --log-file /var/log/daily_log syslog
> my\@e-mail.com");
> system("rm /var/log/daily_log");

Interesting ... this looks to me like a shell script wrapped up in Perl :-)

> And that works fine.

Well, I'm glad to hear that this works for you.

> But it will be nice if the problem/bug in lire
> could be fixed. Here is my config.xml file:

I've attempted to do a little bit of debugging using your config,
but I haven't got very far. Importing data into the DLF store seems
to work just fine, but extracting reports based on that data fails,
apparently because the code thinks that the data in the store does
not match the requested reporting period. Someone with better perl
skills than mine might be able to dig deeper into this part of the code.
I agree fully with you that it would be nice to have this working
properly!

Anyway, thanks for sharing the config file!
Regards,
- -- wytze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFE6wmRqs+zhiEbbu8RAgb0AKDkpS4Zw9QkVK8wxtuCdZImGAXk0ACeLOjz
IoGz4O4l8p/32vcsD7HBtqE=
=5K/m
-----END PGP SIGNATURE-----

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list