Hi daml Community!
I run sandbox with:
daml sandbox --port-file ./scripts/components/canton-sandbox-port.txt --log-level-root=DEBUG --log-level-canton=DEBUG --log-level-stdout=DEBUG
and then json-api with:
daml json-api --ledger-host localhost --ledger-port 6865 --http-port 7575 --log-level DEBUG --max-inbound-message-size 9283730
Then I exercise a choice via json-api. Inside daml choice code I have
debug "my message"
Is there a way to print debug messages to the log? With this set up I cannot find my debug messages… Am I missing something? Is it possible? I want to debug a choice exercising it from json-api. I see debug messages with VS Code sandbox running a script but not with json-api request… I tried trace messages and cannot find them in the log too.