mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
49805b3d81
When dealing with a large number of template instances, for example when launching daemons per VRF, it is hard for operators to correlate log lines to arguments. Add a new with-unit mode which, if available, prefixes unit and user unit names when displaying its log messages instead of the syslog identifier. It will also use the full timestamp with timezones, like the short-full mode.
7 lines
289 B
Plaintext
7 lines
289 B
Plaintext
#autoload
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
local -a _output_opts
|
|
_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat with-unit)
|
|
_describe -t output 'output mode' _output_opts || compadd "$@"
|