Systemd/src/timedate
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
..
meson.build Drop my copyright headers 2018-06-14 13:03:20 +02:00
org.freedesktop.timedate1.conf Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
org.freedesktop.timedate1.policy timedatectl: do not wrap polkit policy message 2018-05-18 00:03:15 +09:00
org.freedesktop.timedate1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
timedatectl.c log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
timedated.c Make failures of mac_selinux_init() fatal 2020-06-23 19:10:07 +02:00