# Configure Canton logging in static configuration file?

**URL:** <https://forum.canton.network/t/configure-canton-logging-in-static-configuration-file/6960>\
**Category:** App Development\
**Created:** [December 1, 2023, 3:20pm UTC](https://forum.canton.network/t/configure-canton-logging-in-static-configuration-file/6960 "2023-12-01T15:20:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [December 1, 2023, 3:20pm UTC](https://forum.canton.network/t/configure-canton-logging-in-static-configuration-file/6960/1 "2023-12-01T15:20:41Z")

</div>

In 2.7.6, I see that Canton logging can be [configured on the command line](https://docs.daml.com/2.7.6/canton/usermanual/monitoring.html#id9). But I don’t see a way to do the equivalent using [static configuration](https://docs.daml.com/canton/usermanual/static_conf.html#) based on the [MonitoringConfig and similar classes](https://docs.daml.com/2.7.6/canton/scaladoc/com/digitalasset/canton/config/MonitoringConfig.html).

Is my conclusion correct? Command line and logback files are the only way?

---

<div class="post-metadata">

**Author:** ![WallaceKelly](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/wallacekelly/32/5046_2.png) [@WallaceKelly](https://forum.canton.network/u/WallaceKelly)\
**Post date:** [December 7, 2023, 1:45pm UTC](https://forum.canton.network/t/configure-canton-logging-in-static-configuration-file/6960/2 "2023-12-07T13:45:42Z")

</div>

The answer is, “Yes my conclusion is correct.” The logback mechanism is independent of the Canton-specific static configuration.

---

<div class="post-metadata">

**Author:** ![Ratko\_Veprek](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/ratko_veprek/32/206_2.png) [@Ratko\_Veprek](https://forum.canton.network/u/Ratko_Veprek)\
**Post date:** [December 12, 2023, 7:01am UTC](https://forum.canton.network/t/configure-canton-logging-in-static-configuration-file/6960/3 "2023-12-12T07:01:46Z")

</div>

Yes. That’s correct. You can have full control over logging via the normal logback configuration methods: [Monitoring — Daml SDK 2.7.6 documentation](https://docs.daml.com/canton/usermanual/monitoring.html#id9)

The Canton logging configuration just covers conveniently 95% of the usecases. There is one thing though: You can dynamically adjust the log level via cmd line: [Console Commands — Daml SDK 2.7.6 documentation](https://docs.daml.com/canton/reference/console.html#logging-set-level)

This doesn’t work yet remotely but eventually will.
