Communi recognizes the following environment variables at runtime:
Value | Description |
---|---|
0 | Disable all debug output. |
1 | Enable debug output. |
Value | Description |
---|---|
0 ("none" ) | No debug output. |
1 ("error" ) | Output connection errors. |
2 ("status" ) | Output connection status changes. |
3 ("write" ) | Output written (sent) lines. |
4 ("read" ) | Output read (received) lines. |
The debug output can be filtered so that it only contains lines from specific connections. The filter is case-insensitive and supports wildcards. The filter is matched against the display name of each connection.
Examples:
IRC_DEBUG_NAME=Libera matches
connections that have a display name "Libera"
IRC_DEBUG_NAME=*libera* matches
connections that have a display name "Libera"
or "irc.libera.chat"