В Thu, 6 Jun 2013 10:03:29 +0200 Lennart Poettering <[email protected]> пишет:
> On Wed, 15.05.13 22:28, John Connor ([email protected]) 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? _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
