Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Ledger verbosity changeForum ↗

Ledger verbosity change

App Development3 posts235 views1 likesLast activity Nov 2023
DA
David_MartinsOP
Nov 2023

Hello,

Is it possible to change canton nodes (participant and domain) log verbosity at runtime?

Thank you

MG
mgodf89
Nov 2023

Hi David,

Since Canton uses Logback Classic, you can specify a custom logging configuration when starting your domain components.

You can specify the log level here:

JAVA_OPTS="-Dlogback.configurationFile=./path-to-file.xml" ./bin/canton --config ...

I found a barebones logback config in one of our example projects. I cannot guarantee that it’s use in this project matches your setup perfectly, but I think it could be a good place to start

Best Regards,

Michael Godfrey
Enterprise Customer Support
Digital Asset | Creators of DAML | www.digitalasset.com

TA
Tamas_Kalcza
Nov 2023

Hi David,

You should be specify a custom configuration file as shown in the previous response and use the scan feature of Logback: Chapter 3: Configuration.

Regards,
Tamás

← Back to Discussions