Ledger verbosity change


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

Thank you

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

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.


1 Like