Do Canton bootstrap scripts have access to the Canton standard logger?
- Michael_SchaefferOP
Like other JVM apps, Canton uses a logging framework for its own messages.
Is it possible to write to a channel of this logging mechanism from a bootstrap script? (I know there’s
println, but that doesn’t go through the logging mechanism, with all the disadvantages that implies.) - cocreature 1
There is an object
loggerin scope which has the usual.warn,.debug, … methods. So you can put this in a bootstrap file and it shows up as part of the standard log:logger.warn("my custom log")