How can I configure the logback file used in the trigger service to get my
debug statements printed to the log but no the underlying trigger’s internal debug statements?
Which can be quiet verbose (who does not love to interpret some large state in Scala
I usually use the
name attribute to
logger to specify a [Scala] package [prefix] to increase the log level for in logback.xml. Do your
debug statements have a particular package shown in the logs that you can use?
Yes, they do!
12:37:16.598 [TriggerService-akka.actor.default-dispatcher-14] DEBUG daml.tracelog - [unknown source]: "Debug message from TriggerA"
<logger name="daml.tracelog" level="DEBUG">
trigger-service-logback.xml file, and reverting the default level to
INFO, does the trick.
Split this topic
July 5, 2022, 3:50pm