Systemd/src/locale
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
..
kbd-model-map kbd-model-map: add more mappings for Slovak, Lithuanian, and Khmer 2015-01-22 01:14:54 -05:00
keymap-util.c Remove unneded {}s 2020-04-13 09:31:49 +02:00
keymap-util.h locale: store polkit_registry in Context 2018-11-23 06:22:30 +09:00
language-fallback-map locale: Language fallbacks for fr_(BE|CA|CH|LU) to fr_FR (#3178) 2016-05-02 19:43:37 -04:00
localectl.c log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
localed.c Merge pull request #16112 from poettering/nss-systemd-block-fix 2020-06-24 08:39:44 +02:00
meson.build util: add dlfcn-util.h 2020-06-23 17:23:27 +02:00
org.freedesktop.locale1.conf Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
org.freedesktop.locale1.policy meson: drop unnecessary "transformation" of policy files 2018-02-16 13:01:12 +01:00
org.freedesktop.locale1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
test-keymap-util.c tests: use the test helpers in more places 2019-03-04 14:15:38 +01:00