...
Since build 5.2.1883a current mediasessions statistics may be collected. The statistics may be logged to save it to a file when mediasession is closed. Also, since build 5.2.1975 the parameter is used to enable this feature
Code Block | ||
---|---|---|
| ||
media_session_connection_stats_log=true |
The mediasessions statistics is logged to the /usr/local/FlashphonerWebCallServer/logs/stats/media-session-connection-stats.log
file in CSV form
...
Code Block | ||
---|---|---|
| ||
log4j.logger.MediaSessionConnectionStats=error, mediaSessionConnectionStatsAppender log4j.additivity.MediaSessionConnectionStats=false log4j.appender.mediaSessionConnectionStatsAppender=com.flashphoner.common.logging.NewLogForEachRunFileAppender log4j.appender.mediaSessionConnectionStatsAppender.DatePattern='.'yyyy-MM-dd-HH log4j.appender.mediaSessionConnectionStatsAppender.layout=org.apache.log4j.PatternLayout log4j.appender.mediaSessionConnectionStatsAppender.layout.ConversionPattern=%m%n log4j.appender.mediaSessionConnectionStatsAppender.File=${com.flashphoner.fms.AppHome}/logs/stats/media-session-connection-stats.log |
If mediasession statistics logging is enabled, but there are no corresponding settings in log4j.properties
file, the statistics will be logged to server log at ERROR level:
Code Block | ||
---|---|---|
| ||
ERROR ssionConnectionStats - API-ASYNC-pool-7-thread-3 359943b0-fc64-11ee-bd5a-1dcbd3939090; 0; 0; 0; 0; 0; 0; 0; 40; 0; 0 |
CVE-2021-44228 vulnerability
...