Skip to content
Discussions/App Development/Trigger service log levelForum ↗

Trigger service log level

App Development2 posts231 views1 likesLast activity Mar 2022
SH
shiranaOP
Feb 2022

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?

ST
Stephen
Mar 2022

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/daml

trigger-service log level

opened 09:51AM - 23 Feb 22 UTC
closed 04:03PM - 15 Mar 22 UTC
component/trigger-service team/app-runtime

I’m using trigger-service-1.18.0.jar and can see logs in DEBUG level. for examp

← Back to Discussions