Communi  3.7.0
A cross-platform IRC framework written with Qt
Loading...
Searching...
No Matches
Debugging techniques

Communi recognizes the following environment variables at runtime:

IRC_DEBUG

Value Description
0 Disable all debug output.
1 Enable debug output.

IRC_DEBUG_LEVEL

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.

IRC_DEBUG_NAME

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"