On Tue, 09.10.12 15:19, Tom Hughes (tom(a)compton.nu) wrote:
On 09/10/12 15:04, Lennart Poettering wrote:
>h) It's much shorter to type: "journalctl" than "less
> /var/log/messages". "journalctl -n" is shorter than "tail
> /var/log/messages". And "journalctl -f" is shorter than "tail
-f
> /var/log/messages".
While "less" helpfully wraps your log lines at the edge of your
terminal journalctl unhelpfully truncates them or, if -a is used,
makes you use left/right cursor to scroll back and forth in an
attempt to read the lines. Especially since it fully qualifies the
host name so the actual message has barely got started by column 80.
On f18 we will not trucnate lines we pass to less.
If you don't like the behaviour of less in regards of long lines, please
file a bug to less.
Lennart
--
Lennart Poettering - Red Hat, Inc.