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=Freenode matches
connections that have a display name "Freenode"
IRC_DEBUG_NAME=*freenode* matches
connections that have a display name "Freenode"
or "irc.freenode.net"