lr_log2report issued several warning messages and created a text report with no subreports

Francis J. Lacoste flacoste at logreport.org
Thu Aug 14 18:06:32 CEST 2003


On Mon, 2003-08-11 at 17:19, Robert_G_Kennington at notes.tcs.treas.gov
wrote:

> isbld2br> lr_run lr_log2report -c ~/.lire/config/mailhub-5.xml sendmail <
> ~/logs/mailhub-5.syslog.200306.gz > ~/.lire/reports/mailhub-5.txt
> 

The problem is that the file you are providing as argument to the -c
switch isn't what is expected at all by Lire.

The -c option expects a "Report Configuration File". This is
line-oriented text files which lists the section of the report, the
tables that will be included in each section and the parameters to use
when generating the reports.

This format of this file is documented in "Chapter 5: Customizing Lire's
Reports".

The file you are using as argument is a XML file containing Lire
configuration values. You don't have to use a switch to "enable" the
configuration. All files located in $HOME/.lire/config/ will be
used as part of the configuration.

If you want to use special configuration depending on the job you are
running, simply change the parameters in a "Job Context" in lr_config. 

The correct configuration will be use if the report is generated
automatically using lr_cron. Otherwise, you can export the LR_JOB_ID
environment variable to select the correct configuration.

Kind regards,

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030814/ad56ac34/attachment.bin 


More information about the Questions mailing list