Less logging during registration 22/140022/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 24 Jan 2025 15:40:13 +0000 (15:40 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 24 Jan 2025 17:04:59 +0000 (17:04 +0000)
commit8ef2400744c93c1c13f8ac1ae7eae1c0969989f8
treebdf02cdabe5541159a319ae9509e5d652cd18eec
parent0af1b07966f2c96af30497589fcb14ae5ea6d0d6
Less logging during registration

During investigation of CPS-2576 bug, stack traces were added to log
output (by logging the exception object). This produces massive log
output during registration, since all CM-handles fail to sync and go
to LOCKED state initially due to initial DMI delay.

This patch logs exception details at warning level but not stacktrace

Issue-ID: CPS-2576
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ibb55991e75c058e9f4983bd876285b48917ee28e
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncService.java
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/inventory/sync/ModuleSyncTasks.java
docs/api/swagger/cps/openapi.yaml