On Mon, Oct 20, 2014 at 11:01:08PM +0200, Richard Hartmann wrote:
> On Mon, Oct 20, 2014 at 9:01 PM, Martin Pitt <[email protected]> wrote:
> > Perhaps a better thing would be to always log systemd events/changes
> > to tty9? There is no scrollback buffer while its logging in the
> > background (i. e. you are looking at a different tty), but usually the
> > last 20-something lines should give you an idea what it's hanging on.
There's ForwardToConsole and TTYPath. This is enough to have messages forwarded
to a tty [1]. Currently enabling this requires editing 
/etc/systemd/journald.conf,
but when the patches currently being discussed [2] on the mailing list are 
merged,
journald.conf should allow dropin snippets, so this should become even easier
to enable.

[1] 
http://www.freedesktop.org/software/systemd/man/journald.conf.html#ForwardToSyslog=
[2] http://lists.freedesktop.org/archives/systemd-devel/2014-October/024022.html

Zbyszek

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to