Developer Functionalities
Logging
sncast
supports emitting logs, including the logs from the requests sent to the network.
Logs can be enabled by setting SNCAST_LOG
environment variable to desired log level.
For example, to enable logs with level debug
and higher, run:
$ SNCAST_LOG="debug" sncast ...
Additional filtering can be set to the SNCAST_LOG
environment variable,
see tracing-subscriber
documentation for more details.
⚠️ Warning
Logs can expose sensitive information, such as private keys. Never use logging in production environments.