[plug] tailing misbehaving log files

Ryan ryan at is.as.geeky.as
Tue Jun 7 12:16:09 WST 2005


Howdy,

I'm playing around with a GroupWise server trying to tail some of its
log files.

Unfortunately, the log files end with the line:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

.. and all updates are inserted BEFORE this line.

Tailing such a file results in all kinds of garbled formats that make it
mostly useless to read.

Another option is using watch to tail 50 odd lines etc, but this also
has issues with screen updates.  The screen is not cleared completely
between updates and after a while, the text becomes impossible to read.
ie: long lines that are replaced with short lines end up with all the
trailing text still visible on the end of the line.

Is there any clever way to overcome the limitations in either approach?

Thanks,

Ryan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20050607/f3b8d2e1/attachment.pgp>


More information about the plug mailing list