[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with lines above 256 char. in log files
- To: hobbit (at) hswn.dk
- Subject: problem with lines above 256 char. in log files
- From: Dominique Frise <dominique.frise (at) unil.ch>
- Date: Wed, 03 Dec 2008 09:22:18 +0100
- References: <20081201120821.GA26193 (at) osiris.hswn.dk> <72FDCB47622C4676B7C015BD6E8A53AD (at) gnaylerwork> <72FDCB47622C4676B7C015BD6E8A53AD (at) gnaylerwork> <493582F2.8070707 (at) mcclatchyinteractive.com> <gh4908$l08$1 (at) voodoo.hswn.dk>
- User-agent: Thunderbird 2.0.0.14 (X11/20080531)
Hi Henrik,
Using 4.2.0 and all-in-one-patch.
Lines above 256 characters in log files are not parsed correctly and
truncated.
Example
-----------------------
System logs at Tue Dec 2 22:08:23 CET 2008
red Critical entries in /var/log/messages
red CORE1 log_scsi_error, acsl 104 0 2 0, cmd 08 00 02 00 00 00 00 00 00
00 00 00 target 01 host 00 driver 08 sense F0 00 20 00 01 80 00 16 00 00
00 03 00 00 00 00 len 131072 ofs 0 type 1 in 1
----------------------
The complete line is:
"Dec 2 22:00:56 gollum kernel: FSNALIAS Can't find this lun , failed
command<6>IOCORE1 log_scsi_error, acsl 104 0 2 0, cmd 08 00 02 00 00 00
00 00 00 00 00 00 target 01 host 00 driver 08 sense F0 00 20 00 01 80 00
16 00 00 00 03 00 00 00 00 len 131072 ofs 0 type 1 in 1"
This line cannot be tested by hobbitd_client:
[bb (at) iris bin]$ ./hobbitd_client --test
Hostname (.=end, ?=dump, !=reload) []: gollum
Hosttype []: Linux
Test (cpu, mem, disk, proc, log, port): log
log filename: /var/log/messages
To read log data from a file, enter '@FILENAME' at the prompt
log line: Dec 2 22:00:56 gollum kernel: FSNALIAS Can't find this lun ,
failed command<6>IOCORE1 log_scsi_error, acsl 104 0 2 0, cmd 08 00 02 00
00 00 00 00 00 00 00 00 target 01 host 00 driver 08 sense F0 00 20 00 01
80 00 16 00 00 00 03 00 00 00 00 len 131072 ofs ^C
Dominique
UNIL - University of Lausanne