I’m trying to set up TLS on the sandbox, and as per the suggestion in our documentation, I would like to enable logging in Netty to debug the connection.
I’ve followed the instructions in the log4j documentation, and created a config file log4j2.xml
in the root directory of my application, like this:
<?xml version="1.0" encoding="UTF-8"?>;
<Configuration>
<Loggers>
<Logger name="io.netty" level="debug">
<AppenderRef ref="Console"/>
</Logger>
</Loggers>
</Configuration>
I’ve tried some different combinations of this. But I get a feeling the file isn’t being read by canton at all, when I run daml start
. Can someone help me?