1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-26 16:23:58 +03:00

logging: to the systemd journal

Configure via lvm.conf log/journal or command line --journal.

Possible values:
"command" records command information.
"output" records default command output.
"debug" records full command debugging.

Multiple values can be set in lvm.conf as an array.
One value can be set in --journal which is added to
values set in lvm.conf
This commit is contained in:
David Teigland
2021-03-24 14:19:54 -05:00
parent 0b6782fa01
commit bbf8e7db74
9 changed files with 159 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ struct config_info {
int udev_sync;
int udev_fallback;
int issue_discards;
uint32_t journal;
const char *msg_prefix;
const char *fmt_name;
const char *dmeventd_executable;