Add log diagnostic context
[dcaegen2/collectors/hv-ves.git] / sources / hv-collector-dcae-app-simulator / src / main / kotlin / org / onap / dcae / collectors / veshv / simulators / dcaeapp / impl / DcaeAppSimulator.kt
index 417183f..f7d94de 100644 (file)
@@ -46,7 +46,7 @@ class DcaeAppSimulator(private val consumerFactory: ConsumerFactory,
             throw IllegalArgumentException(message)
         }
 
-        logger.info("Received new configuration. Creating consumer for topics: $topics")
+        logger.info { "Received new configuration. Creating consumer for topics: $topics" }
         consumerState.set(consumerFactory.createConsumerForTopics(topics).bind())
     }.fix()