The Sofia-SIP components can output various debugging information.
The detail of the debugging output is determined by the debugging level. The level is usually module-specific and it can be modified by module-specific environment variable. There is also a default level for all modules, controlled by environment variable SOFIA_DEBUG.
The environment variables controlling the logging and other debug output are as follows:
The defined debug output levels are:
In addition to the macros mentioned above, there is also functions for printing logging messages:
The log level can be set (to a level defined in a configuration file, for instance) with following functions
The log output can be redirected to, e.g., system log or loggin server, with su_log_redirect().