Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Important: If you're upgrading snforge to version 0.48.0 or later, please read the 0.48.0 Migration Guide.

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.