Commit 478148c
committed
Suppress logging of deprecated config alternatives
The extension should only recommend usage of non-deprecated config parameters.
There is a small number of deprecated parameters that have their own deprecated
fall-backs. But since they had no default value, the check to print the deprecation
message was positive even when the property was not set explicitly. Adding the
default values removes the deprecation message. This is correct when it is not
explicitly given.
Signed-off-by: Karsten Schnitter <k.schnitter@sap.com>1 parent 3a50e06 commit 478148c
File tree
1 file changed
+3
-1
lines changed- cf-java-logging-support-opentelemetry-agent-extension/src/main/java/com/sap/hcf/cf/logging/opentelemetry/agent/ext/config
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| |||
305 | 307 | | |
306 | 308 | | |
307 | 309 | | |
308 | | - | |
| 310 | + | |
309 | 311 | | |
310 | 312 | | |
311 | 313 | | |
| |||
0 commit comments