Systemd/src/coredump
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
..
coredump-vacuum.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
coredump-vacuum.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
coredump.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
coredump.conf build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
coredumpctl.c log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
meson.build coredump: only install coredump.conf when ENABLED_COREDUMP=true 2018-11-02 14:31:12 +01:00
stacktrace.c coredump: Include module offsets in stack traces 2019-10-18 15:26:47 +02:00
stacktrace.h coredump: slighlty simplify stack trace generation logic 2019-06-27 19:01:32 +02:00
test-coredump-vacuum.c Drop my copyright headers 2018-06-14 13:03:20 +02:00