1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/tools
Peter Rajnoha 8281f7c111 config: use default log/command_log_report=1 for json/json_std output format
log/command_log_report config setting defaults to 1 now if json or json_std
output format is used (either by setting report/output_format config
setting or using --reportformat cmd line arg).

This means that if we use json/json_std output format, the command log
messages are then part of the json output too, not interleaved as
unstructured text mixed with the json output.

If log/command_log_report is set explicitly in the config, then we still
respect that, no matter what output format is used currently. In this
case, users can still separate and redirect the output by using
LVM_OUT_FD, LVM_ERR_FD and LVM_REPORT_FD so that the different types
do not interleave with the json/json_std output.
2024-07-24 09:50:26 +00:00
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore tools: add generated headers to .gitignore 2017-03-10 13:13:41 +00:00
args.h args: generate configurable path 2024-05-28 14:55:53 +02:00
cmdnames.h doc: change fsf address 2016-01-21 12:11:37 +01:00
command_enums.h cleanup: use ALTERNATIVE_EXTENTS 2024-05-27 15:16:25 +02:00
command-lines.in Allow system.devices to be automatically created on first boot 2024-05-21 16:29:12 -05:00
command.c cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
command.h command: store val_name with its size 2024-05-27 15:16:26 +02:00
commands.h cleanup: use ALTERNATIVE_EXTENTS 2024-05-27 15:16:25 +02:00
dumpconfig.c lvmconfig: add --valuesonly option 2022-08-17 10:47:24 +02:00
errors.h tools: Introduce exit code EINIT_FAILED. 2017-07-26 23:18:03 +01:00
formats.c doc: change fsf address 2016-01-21 12:11:37 +01:00
license.inc makefiles: avoid piping 2023-02-10 17:50:27 +01:00
lv_props.h lv_prop: simplier macro usage 2024-05-13 02:20:29 +02:00
lv_types.h lv_types: sort order of types 2024-05-13 12:58:37 +02:00
lvchange.c command: use command_id_to_enum 2024-05-13 02:15:55 +02:00
lvconvert_poll.c lv: swap more lv properties 2024-03-17 13:17:53 +01:00
lvconvert_poll.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvconvert.c lvmlockd: avoid lockd_vg for local VGs 2024-06-27 13:29:03 -05:00
lvcreate.c cov: annotate already validated lv name 2024-06-03 15:30:05 +02:00
lvdisplay.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
lvextend.c lvresize: restructure code 2022-09-09 16:18:55 -05:00
lvm2cmd-static.c lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm2cmd.c lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm2cmd.h lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm2cmdline.h lvmcmdline: use strcut as const 2024-05-13 02:15:55 +02:00
lvm-static.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm.c lvm: fix shell completion 2024-05-27 15:16:25 +02:00
lvmcmdlib.c cmdlib_lvm2_init: release cmd on failure path 2021-09-13 12:34:41 +02:00
lvmcmdline.c lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
lvmdevices.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
lvmdiskscan.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
lvpoll.c const: _fns poll_function 2024-05-04 01:01:57 +02:00
lvreduce.c lvresize: restructure code 2022-09-09 16:18:55 -05:00
lvremove.c lvremove: initilize struct list 2024-05-27 18:23:26 +02:00
lvrename.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
lvresize.c lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
lvscan.c debug: print WARNING: 2023-07-15 11:05:35 +02:00
Makefile.in command: split man-generator code 2024-04-29 00:13:43 +02:00
man-generator.c cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
polldaemon.c lvmlockd: avoid lockd_vg for local VGs 2024-06-27 13:29:03 -05:00
pvchange.c device_id: ensure pvid buffers are ID_LEN+1 2023-11-09 13:15:02 -06:00
pvck.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
pvcreate.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
pvdisplay.c add device hints to reduce scanning 2019-01-15 10:23:47 -06:00
pvmove_poll.c cov: ensure NULL baton is not dereferenced 2023-05-06 19:22:05 +02:00
pvmove_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pvmove.c const: _fns poll_function 2024-05-04 01:01:57 +02:00
pvremove.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
pvresize.c exported vg handling 2019-06-25 15:39:08 -05:00
pvscan.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
reporter.c config: use default log/command_log_report=1 for json/json_std output format 2024-07-24 09:50:26 +00:00
segtypes.c doc: change fsf address 2016-01-21 12:11:37 +01:00
stub.h Remove vgconvert 2018-06-13 14:14:03 -05:00
tags.c doc: change fsf address 2016-01-21 12:11:37 +01:00
tool.h configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
toollib.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
toollib.h cov: replace enum report_type_t with unsigned 2024-05-27 16:35:23 +02:00
tools.h cleanup: use ARG_LONG_OPT 2024-05-27 15:16:25 +02:00
vals.h command: reorder vals order 2024-05-27 15:16:26 +02:00
vgcfgbackup.c cov: annotate to silent some coverity warning 2024-05-08 01:55:21 +02:00
vgcfgrestore.c refactor: update dm_strncpy to _dm_strncpy 2024-04-04 19:38:21 +02:00
vgchange.c lvmlockd: vgchange systemid doen't need global lock 2024-06-27 13:29:03 -05:00
vgck.c vgck: fix updatemetadata writing different descriptions 2019-10-11 12:57:32 -05:00
vgcreate.c lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
vgdisplay.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgexport.c backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
vgextend.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
vgimport.c vgimport: invalidate hints 2023-02-22 16:19:48 -06:00
vgimportclone.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
vgimportdevices.c cleanup: remove unneded headers 2024-06-03 15:30:05 +02:00
vgmerge.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
vgmknodes.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
vgreduce.c backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
vgremove.c lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
vgrename.c cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
vgscan.c debug: print WARNING: 2023-07-15 11:05:35 +02:00
vgsplit.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00