Trigger service log level
I’m using trigger-service-1.18.0.jar and can see logs in DEBUG level.
for example this secion in the code ( from trigger/Runner.scala file)
freeTriggerSubmits(clientTime, v = updateWithNewState) .leftMap( _.expect( "TriggerRule new state", { case DamlTuple2(SUnit, newState) => logger.debug(s"New state: $newState") newState }, ).orConverterException )
prints in DEBUG mode the content of the contract…
How can that be avoided?
How can I control the logging level of the service?
As this was a code issue, further discussion happened over on Daml issues, including both controlling log level and fixing the defaults for the trigger service jar:
github.com/digital-asset/damltrigger-service log level
I’m using trigger-service-1.18.0.jar and can see logs in DEBUG level. for examp…