1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Peter Rajnoha d10fb73f63 config: also log the value used if defined in config, not just defaults
Commit 7e728fe1a1 added a log call
directly in find_config_tree_array when defaults are used.

This patch also adds the log for the value which is found in
existing configuration and for which defaults are not used.

For example:

Defaults used:
config/config.c:1428   devices/scan not found in config: defaulting to scan = [ "/dev" ]

Value defined in configuration used:
config/config.c:1431   Setting devices/scan to scan = [ "/dev", "/mydev", "/abc" ]

This makes the logging consistent with the other find_config_tree_* functions.
2015-07-15 16:02:20 +02:00
..
config_settings.h config: {thin,cache}_{check,repair}_options are never undefined 2015-07-14 10:13:41 +02:00
config.c config: also log the value used if defined in config, not just defaults 2015-07-15 16:02:20 +02:00
config.h config: replace find_config_tree_node with find_config_tree_array where appropriate 2015-07-08 13:03:08 +02:00
defaults.h config: {thin,cache}_{check,repair}_options are never undefined 2015-07-14 10:13:41 +02:00