Run time errors for lire
Francis J. Lacoste
flacoste at logreport.org
Mon Nov 19 00:01:44 CET 2001
On Thu, Nov 15, 2001 at 05:37:55PM -0800, Douglas Gee wrote:
> Just installed lire / logbook (as well as GDGraph-1.33 GDTextUtil-0.80 XML-Parser-2.29 docbook-dsssl-1.73 expat-1.95.2 libnids-1.16 libxml2-2.4.10 libxslt-1.0.7 and openjade-1.3). It seems to have some runtime issues that I am not sure how to fix. Below is the output from lr_run lr_log2report; my questions are:
>
> 1. Why can it not find /usr/local/share/lire/schemas/www-user_agent.xml ?
The problem isn't that it can't find www-user_agent.xml. In fact, it is
not an error at all. The message
> www all lr_tag-20011115162808-3481 lr_dlf2xml notice can't compute
> schema 'www-user_agent' because some fields are unavailable: useragent
appears because the www-user_agent schema (and all the reports based on
that schema) needs the useragent field to compute its information. This
information isn't present in the Common Log Format. Only Combined Log
Format have this information. (Combined Log Format is CLF + the content
of the User-Agent and Referer headers).
> 2. Where are the DocBook stylesheets supposed to go?
You can basically install them anywhere. Pass the location of their
top-level directory to configure via the DBK_DSSSL_STYLESHEETS
environmental variable :
DBK_XML_DTD=/my/path/to/docbook.dtd \
DBK_DSSSL_STYLESHEETS=/path/to/directory/where/stylesheets/were/unpacked \
./configure [other options]
The FAQ (doc/faq.{html,pdf,txt}) has other informations about making
HTML reports works on SunOS.
Btw, our next release won't need the DSSSL stylesheets and openjade to
generate HTML output. (Only libxslt and the XSL DocBook stylesheets will
be needed. It will be a lot faster also.) There is a CVS snapshots of
that upcoming release available at
http://www.logreport.org/pub/cvs-snapshots/lire-full-20011117-unstable.tar.gz
The final version should be released around the beginning of December.
> 3. The program took 20 minutes to run against a 16MB apache log file. Is this normal?
It depends on your hardware, but it is very well possible. Turning off
reports you don't want will reduce processing time.
We are interested by any feedback you can give us.
Thanks for your interest in LogReport, 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: 232 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20011118/61539850/attachment.bin
More information about the Questions
mailing list