diff options
author | Doug Hellmann <doug@doughellmann.com> | 2017-04-25 11:01:42 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2017-04-25 11:01:42 -0400 |
commit | 12fd34b963f6efa1bd8afd8ce06de33c90135f6d (patch) | |
tree | f790bcac4c3c6e3ec4049a14524263e96c974663 /releasenotes | |
parent | 4cc7c6cb9bd96c986680241bbf2d3d454bcba246 (diff) | |
download | oslo-config-12fd34b963f6efa1bd8afd8ce06de33c90135f6d.tar.gz |
add deprecation_reason to log message4.1.0
When we log the warning that an option is deprecated for removal,
include the reason if we have one. Previously the deprecation reason was
only visible in the sample configuration file.
Add some tests for the log messages emitted when deprecated options are
used.
Change-Id: I5e309a3651041580fdf529ff31e18bbd90714f35
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/show-deprecated-reason-361a8eb31e05c97e.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/show-deprecated-reason-361a8eb31e05c97e.yaml b/releasenotes/notes/show-deprecated-reason-361a8eb31e05c97e.yaml new file mode 100644 index 0000000..0878bbb --- /dev/null +++ b/releasenotes/notes/show-deprecated-reason-361a8eb31e05c97e.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + When a deprecated option is used, the message warning that the option is + deprecated now includes the reason for the deprecation, if there is one given.
\ No newline at end of file |