Malformed UTF-8 characters in squid access log (was: Re: Logreport problems whit proxy squid function)
Joost van Baal
joostvb at logreport.org
Thu Jan 2 15:13:05 CET 2003
Hi Roberto,
On Mon, Dec 30, 2002 at 05:38:22PM +0100, roberto.dalzilio at sistemi.com wrote:
> I have installed lire 1.2.1 in a red hat linux 8.0.
Did you install lire-1.2.1.tar.gz or lire-1.2.1-2.noarch.rpm?
> I have run lire with this command :
>
> lr_run lr_log2report -i -o pdf proxy squid < access.log.1 > repsqid2.pdf
> 2> errorsquid.txt
>
> but lire filter for proxy squid don't function and report me lots of
> errors.
> (See attached file: errorsquid2.txt.bz2)
Did you read the output? It says:
all all lr_tag-20021227151154-1897 lr_log2report warning obsolete (since
Lire 1.1) superservice argument detected
all all lr_tag-20021227151154-1897 lr_log2report warning this argument
is ignored
all all lr_tag-20021227151154-1897 lr_log2report warning please change
your scripts and call this program as Usage lr_log2report [-c
<report_cfg>] [-i] [-o <outputformat>] service
Please do not run
lr_run lr_log2report -i -o pdf proxy squid < access.log.1 >
repsqid2.pdf 2> errorsquid.txt
but run
lr_run lr_log2report -i -o pdf squid_access < access.log.1 >
repsqid2.pdf 2> errorsquid.txt
Furthermore, it says:
all squid_access lr_tag-20021227151154-1897 squid_access2dlf warning
Malformed UTF-8 character (unexpected continuation byte 0xa0, with no
preceding start byte) in pattern match (m//) at
/usr/libexec/lire/convertors/squid_access2dlf line 31, <> line 33909.
<snip>
all squid_access lr_tag-20021227151154-1897 squid_access2dlf warning
Malformed UTF-8 character (unexpected non-continuation byte 0x25,
immediately after start byte 0xe8) in pattern match (m//) at
/usr/libexec/lire/convertors/squid_access2dlf line 31, <> line 277304.
Please inspect line 33909 of your file access.log.1. That's what
squid_access2dlf chokes on.
What does your file repsqid2.pdf look like?
> Thank you and good new year!
Best Wishes to you too!
Bye,
Joost
--
. . http://logreport.com/
| '.| /^LogReport$/
| Lire http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/development/attachments/20030102/5238a953/attachment.bin
More information about the Development
mailing list