[systemd-devel] Systemd debugging option, documentation clarification
Andrey Borzenkov
arvidjaar at gmail.com
Thu Jun 6 07:54:08 PDT 2013
В Thu, 6 Jun 2013 10:03:29 +0200
Lennart Poettering <lennart at poettering.net> пишет:
> On Wed, 15.05.13 22:28, John Connor (jaconnor44 at gmail.com) wrote:
>
> > 1: It would be useful for debugging if systemctl had an option to show
> > output on the screen (especially output from scripts run under
> > systemd), rather than dumping it in a journal which you then have to
> > search through. This should be a command-line option, because you
> > would normally use it only for debugging, not for a normal boot. I
> > don't know how practicable this would be, but it would be useful.
>
> This is actually harder than it sounds, since notification when a job
> finished is asynchronous to the stream of logs, and I have no ideas how
> we could ever fix that.
>
By default systemctl is blocking - it waits until job is completed,
right? So it could fetch logs for this job after completion, similar to
"systemctl status"? What does it involve beyond sticking
show_journal_by_unit() in the right place?
More information about the systemd-devel
mailing list