Systemd/src/machine
Filipe Brandenburger 41d1f469cf log: introduce log_parse_environment_cli() and log_setup_cli()
Presently, CLI utilities such as systemctl will check whether they have a tty
attached or not to decide whether to parse /proc/cmdline or EFI variable
SystemdOptions looking for systemd.log_* entries.

But this check will be misleading if these tools are being launched by a
daemon, such as a monitoring daemon or automation service that runs in
background.

Make log handling of CLI tools uniform by never checking /proc/cmdline or EFI
variables to determine the logging level.

Furthermore, introduce a new log_setup_cli() shortcut to set up common options
used by most command-line utilities.
2020-06-24 16:49:26 +02:00
..
image-dbus.c machined: convert to the new scheme and add --bus-introspect 2020-05-05 22:38:31 +02:00
image-dbus.h machined: convert to the new scheme and add --bus-introspect 2020-05-05 22:38:31 +02:00
machine-dbus.c machine: switch to BusLocator-oriented helpers 2020-05-07 08:46:43 -07:00
machine-dbus.h machined: convert to the new scheme and add --bus-introspect 2020-05-05 22:38:31 +02:00
machine.c tree-wide: make parse_ifindex simply return the index 2020-01-11 12:06:08 +01:00
machine.h machined: only Unref units that we AddRef'd 2019-10-29 10:54:45 +01:00
machinectl.c log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
machined-core.c machined: flush nscd caches whenever a machine comes/goes 2018-12-15 12:10:19 +01:00
machined-dbus.c machine: switch to BusLocator-oriented helpers 2020-05-07 08:46:43 -07:00
machined.c machine: switch to BusLocator-oriented helpers 2020-05-07 08:46:43 -07:00
machined.h machined: convert to the new scheme and add --bus-introspect 2020-05-05 22:38:31 +02:00
meson.build machined: flush nscd caches whenever a machine comes/goes 2018-12-15 12:10:19 +01:00
operation.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
operation.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
org.freedesktop.machine1.conf machined: add UnregisterMachine method 2019-10-29 10:54:45 +01:00
org.freedesktop.machine1.policy meson: drop unnecessary "transformation" of policy files 2018-02-16 13:01:12 +01:00
org.freedesktop.machine1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
test-machine-tables.c Drop my copyright headers 2018-06-14 13:03:20 +02:00