Skip to content
CCPEDIAby Unity Nodes
App Development

How can I control the log level for the JSON API?

3 posts420 views5 likesLast activity Aug 2020

  1. georgOP 1

    It does not provide a command line parameter to do so. Is there an alternative way to set it?

  2. bernhard 3

    I’m not sure there’s a clean way to set it when you start using daml json-api. If you use the standalone JAR, you should be able to pass in logback config using java -Dlogback.configurationFile=... -jar ....
    The default JSON API logback config is in ~/.daml/sdk/1.4.0/daml-sdk/json-api-logback.xml. I don’t recommend manipulating it, but I think it can reasonably serve as a template.

  3. cocreature 1

    The logback file is your only option atm.