How can I control the log level for the JSON API?
- georgOP 1
It does not provide a command line parameter to do so. Is there an alternative way to set it?
- 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 usingjava -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. - cocreature 1
The logback file is your only option atm.