question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

trigger-service log level

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
cocreaturecommented, Mar 3, 2022

that’s right, we set it explicitly in the sdk config so it doesn’t matter what is in the JAR https://github.com/digital-asset/daml/blob/b2d6f8014c12848cc8f9f3537c5de4bc1732b504/release/sdk-config.yaml.tmpl#L85

0reactions
stefanobaghino-dacommented, Mar 3, 2022

@moritzkiefer-da are you aware of whether this is done on purpose to avoid issues with the SDK assistant?

no by accident

Ok, thanks. I assume this means that putting it explicitly into the JAR will not result in problems with the SDK assistant (that we know of). Let me know if my assumption is incorrect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trigger service log level - Daml Developers Community
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)
Read more >
unable to get trigger service for agent" mean, and why do they ...
The messages are logged when an agent connects to an Enterprise Manager and is caused by the Differential Analysis feature (which triggers a ......
Read more >
Debug logs on triggers - Salesforce Stack Exchange
I have configured 'Traced Entity Type' to 'Apex Trigger' , 'Traced Entity Name' to 'Account Trigger' and 'Debug Level' to 'SFDC Dev Console'....
Read more >
Monadifying the low-level trigger API · Issue #7372 - GitHub
Currently we work around this by using an incrementing command id in DAML API and mapping that to random UUIDs on the Scala...
Read more >
Configure Logging for Services - Trifacta Documentation
As needed, you can modify via parameter the logging levels for the following services of the ... time-based-trigger-service.access.log.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found