Skip to content

Change default log levels and document how to change them #721

@canton-network-da

Description

@canton-network-da
Contributor

[ This issue was auto-migrated from DA's internal repo (DACH-NY/canton-network-node#14806). Original author: @moritzkiefer-da ]

What is this about?

SVs understandably complain about log aggregation costs. In our internal tests and on devnet, we run with this config

  • Canton: INFO logs
  • CN: DEBUG logs

This seems to lower the log amount considerably while it has still served us reasonably well for debugging.

Let's switch the defaults and document how to change the log levels (with a disclaimer that we cannot guarantee that we can debug with non-default log levels)

How important is this and why?

Comes up repeatedly with SVs and has real financial costs as log aggregation is expensive. Also cheap for us. So let's just do it.

Activity

added this to the Tech Debt milestone on Jun 5, 2025
canton-network-da

canton-network-da commented on Jun 5, 2025

@canton-network-da
ContributorAuthor

[ from @martinflorian-da ]: We might want to extend those docs to also cover validators.

Somewhat related thread:

Image

We also might want to add more general documentation on how to override arbitrary Canton configs via additionalEnvVars and ADDITIONAL_CONFIG_ vars but I vaguely remember that we decided against this in the past. (Should probably be a dedicated issue if we want to do this.)

added
help wantedConsider contributing to one of these, especially if you're not a core contributor already!
on Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    deploymentdocumentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedConsider contributing to one of these, especially if you're not a core contributor already!now

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @martinflorian-da@canton-network-da

        Issue actions

          Change default log levels and document how to change them · Issue #721 · hyperledger-labs/splice