aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-09-20 16:56:26 +0200
committerSiri Hansen <[email protected]>2018-09-20 16:56:26 +0200
commit224a42d658d3c08e3ce080fa8041c161e16f3863 (patch)
tree1ade984e88554557da1771cb2e59879304083801 /lib/os_mon/test
parent668607afa7ccbe9289dead30d81cb39c18fa4789 (diff)
downloadotp-224a42d658d3c08e3ce080fa8041c161e16f3863.tar.gz
otp-224a42d658d3c08e3ce080fa8041c161e16f3863.tar.bz2
otp-224a42d658d3c08e3ce080fa8041c161e16f3863.zip
[logger] Add SetOrUpdate parameter to handler callback changing_config
Since logger has now knowledge of the handler specific data ('config' field in the handler configuration map), it can not merge this data structure with default or old values upon configuration change. Instead, the handler callback changing_config must do this. Earlier, this callback did not reflect if the configuration change was initiated by a call to set_handler_config or update_handler_config, so the handler did not know if unspecified fields should get default values or the values from the existing configuration. To overcome this problem, the new parameter SetOrUpdate is added to this callback. If SetOrUpdate equals set, then default values should be used. If SetOrUpdate equals update, then existing configuration values should be used.
Diffstat (limited to 'lib/os_mon/test')
0 files changed, 0 insertions, 0 deletions