I have created a freeswitch kernel research and exchange group, 45211986. welcome to join us. In addition, we provide the SIP-based communication server and client solution to develop the SIP/IMS video client, supports access to the SIP Softswitch, IMS core network, voice, video, and instant communication functions, and video formats such as h263, h264, and MPEG4
Soft encoding soft decoding: provides hardware codec interface connection, and provides servers. If you are interested, contact me.
Similar to asterisk, freeswitch supports three types of logs: console, file, and syslog.
Mod_console implements the console log function,Console. conf. xmlConfiguration file for this module,
There are two parameters,
<Settings>
<Param name = "colorize" value = "true"/>
<Param name = "loglevel" value = "info"/>
</Settings>
Colorize specifies which colors are used, and unified colors are used by default. Loglevel: Set the log level after the system is started.
This module provides the command console to dynamically set the log level,
Freeswitch @ internal> Console Help
Usage:
--------------------------------------------------------------------------------
Consolehelp
Consoleloglevel [[0-7] | <loglevel_string>]
Consolecolorize [ON | off | toggle]
--------------------------------------------------------------------------------
Freeswitch @ internal> console log
[Loglevel]
Freeswitch @ internal> console loglevel 3
+ Oklog Level 3 [3]
+ Okconsole Log Level Set to err
By default, the following levels are available:
Console loglevel console | alert | crit | err | warning | notice | info | debug
Mod_logfile.c enables logging to a file, which is recorded by default.Freeswitch. Log, rotate after reaching a certain size, suffix is a timestamp.
Log files are stored in the/usr/local/freeswitch/log directory by default. The configuration file of this module isLogfile. conf. xml
You can set the storage location of the file here, such as rotate and log level when the file is large.