Set logging options for daml script calls?
- WallaceKellyOP
How does one customize the logback options when running
daml script? - WallaceKelly
I found that I can edit the
~/.daml/sdk/x.y.z/daml-sdk/script-logback.xml.Still curious if there is a way to do this on the
daml scriptcommand line. - WallaceKelly 1
You can set the location of a custom logback file on the command line like this:
_JAVA_OPTIONS="-Dlogback.configurationFile=my-script-logback.xml" daml script ...You can get a starter file to customize from
~/.daml/sdk/x.y.z/daml-sdk/script-logback.xml.It works the same way for daml sandbox, of course.