# Ledger verbosity change

**URL:** <https://forum.canton.network/t/ledger-verbosity-change/6944>\
**Category:** App Development\
**Tags:** canton-network, logfile, canton\
**Created:** [November 24, 2023, 9:30am UTC](https://forum.canton.network/t/ledger-verbosity-change/6944 "2023-11-24T09:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Martins](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/david_martins/32/1792_2.png) [@David\_Martins](https://forum.canton.network/u/David_Martins)\
**Post date:** [November 24, 2023, 9:30am UTC](https://forum.canton.network/t/ledger-verbosity-change/6944/1 "2023-11-24T09:30:49Z")

</div>

Hello,

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

Thank you

---

<div class="post-metadata">

**Author:** ![mgodf89](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mgodf89/32/7055_2.png) [@mgodf89](https://forum.canton.network/u/mgodf89)\
**Post date:** [November 24, 2023, 5:15pm UTC](https://forum.canton.network/t/ledger-verbosity-change/6944/2 "2023-11-24T17:15:45Z")

</div>

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](https://github.com/digital-asset/ex-secure-daml-infra/blob/98ef94810e9c893fe75abb5c29db5338cea8fa1d/client-app/src/main/resources/logback.xml)

Best Regards,

**Michael Godfrey**  
Enterprise Customer Support  
Digital Asset | Creators of DAML | [www.digitalasset.com](http://www.digitalasset.com/)

---

<div class="post-metadata">

**Author:** ![Tamas\_Kalcza](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/tamas_kalcza/32/1788_2.png) [@Tamas\_Kalcza](https://forum.canton.network/u/Tamas_Kalcza)\
**Post date:** [November 27, 2023, 8:39am UTC](https://forum.canton.network/t/ledger-verbosity-change/6944/3 "2023-11-27T08:39:54Z")

</div>

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](https://logback.qos.ch/manual/configuration.html#autoScan).

Regards,  
Tamás
