...
Code Block | ||||
---|---|---|---|---|
| ||||
endstart;mediaProvider;name;mediaSessionId;duration;disposition;info;type;subscribers; |
...
Code Block | ||||
---|---|---|---|---|
| ||||
2015-11-11 08:36:13;Flash;stream-Bob;5c2d75c0-7d87-421d-aa93-2732c48d8eaa;00:00:48;UNPUBLISHED;;PUBLISH;3; |
Field | Description |
---|---|
endstart | Date and time the session endedstarted |
mediaProvider | The media used in WCS JavaScript API: WebRTC, Flash |
name | Name of the published / played stream |
mediaSessionId | Media session identifier |
duration | Duration of the session |
disposition | Session result: UNPUBLISHED, STOPPED, FAILED UNPUBLISHED - publishing of the stream was stopped STOPPED - playing of the stream was stopped FAILED - incorrect session end |
info | If disposition==FAILED, this field contains the description of the reason |
type | PUBLISH if publishing the stream SUBSCRIBE if playing the stream |
subscribers | The number of subscribers in case of publishing the stream; 0 if playing the stream |
...
Code Block | ||||
---|---|---|---|---|
| ||||
endstart;mediaSessionId;disposition;info;duration; |
...
Code Block | ||||
---|---|---|---|---|
| ||||
2018-04-25 19:29:08;/5.44.168.45:52199/95.191.131.64:8443;DISCONNECTED;Normal disconnect;17; |
Field | Description |
---|---|
endstart | Data Date and time the session endedstarted |
mediaSessionId | Media session identifier |
disposition | Session result: DISCONNECTED, FAILED DISCONNECTED - the session ended by client's initiative FAILED - incorrect session end |
info | Contains information about the session end |
duration | Duration of the session |
GC logs
By default garbage collector log files are located in /usr/local/FlashphonerWebCallServer/logs directory.
Code Block | ||
---|---|---|
| ||
logs
---- gc-core-2018-12-18_20-02.log
---- gc-core-2018-12-18_19-56.log |
The location and prefix of the log files can be configured in wcs-core.properties file.
To enable log rotation by the JVM, the following options can be added to wcs-core.properties:
Code Block | ||
---|---|---|
| ||
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=10
-XX:GCLogFileSize=2M |
Then the log files will have names like
Code Block | ||
---|---|---|
| ||
logs
---- gc-core.log2018-12-14_18-57.log.0
---- gc-core.log2018-12-14_18-57.log.1
---- gc-core.log2018-12-14_18-57.log.2
---- gc-core.log2018-12-14_18-57.log.3
---- gc-core.log2018-12-14_18-57.log.4.current |
File with suffix 'current' is the file currently being recorded.
To remove creation time from log file names, remove date from variable GC_SUFFIX in bin/setenv.sh:
Code Block | ||
---|---|---|
| ||
GC_SUFFIX=".log" |
Then the log files will have names like
Code Block | ||
---|---|---|
| ||
logs
---- gc-core.log.0
---- gc-core.log.1
---- gc-core.log.2.current |