Skip to content
CCPEDIAby Unity Nodes
App Development

Trigger service log level

2 posts243 views1 likesLast activity Mar 2022

  1. shiranaOP 1

    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?

  2. Stephen

    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…