[systemd-devel] How to see full lines with journalctl?

Gregory Leon gregory.leon46 at gmail.com
Tue Nov 20 06:04:02 PST 2012


Zbigniew Jędrzejewski-Szmek <zbyszek <at> in.waw.pl> writes:
>
> journalctl will output full lines when running under a pager,
> and also when not outputting to a tty. Do you need something
> different?

On my machine, running simply "journalctl" starts the pager (less) and the
lines do not get shortened with the ellipsis but they are still not wrapped
properly if they are longer than the terminal width. I can only see the rest
by scrolling horizontally with the arrow keys (which is awful). Running
"journalctl --no-pager | less" makes them wrap properly, however.

I second the suggestion of getting rid of the whole line-cutting/shortening
black magic by default and reserve it for a flag. The non-wrapping behaviour
should never happen and I suspect it's a bug since I can't even find
anything like it in less' manpage.





More information about the systemd-devel mailing list