How can I control the log level for the JSON API?
App Development3 posts410 views5 likesLast activity Aug 2020
GE
georgOP
Aug 2020It does not provide a command line parameter to do so. Is there an alternative way to set it?
BE
bernhard
Aug 2020I’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.
CO
cocreature
Aug 2020The logback file is your only option atm.