Hi guys,
I notice that some of the fields(x-severity, x-category, x-event) is missing from the stats log(wowzamediaserver_stats.log).
x-app x-severity x-category x-event date time c-client-id c-ip c-port cs-bytes sc-bytes x-duration x-sname x-stream-id x-spos sc-stream-bytes cs-stream-bytes x-file-size x-file-length x-ctx x-comment
420317720 INFO rtsp connect 9/17/2014 9:49:48 853364606 192.168.12.108 - 0 0 26.38 - - - - - - - 853364606 -
420317720 INFO stream create 9/17/2014 9:49:48 853364606 192.168.12.108 - 0 0 0.025 420317720/small.mp4 1 0 0 0 - - - -
420317720 INFO rtsp describe 9/17/2014 9:49:48 853364606 192.168.12.108 - 0 0 0.205 420317720/small.mp4 - 0 - - 26469936 596.544 853364606 -
420317720 INFO stream play 9/17/2014 9:49:48 853364606 192.168.12.108 - 0 0 0.134 420317720/small.mp4 1 0 0 0 26469936 596.544 420317720/small.mp4 -
420317720 INFO rtsp play 9/17/2014 9:49:48 853364606 192.168.12.108 - 0 0 0.241 420317720/small.mp4 - 0 - - 26469936 596.544 853364606 -
420317720 - - - 9/17/2014 9:50:07 853364606 192.168.12.108 - 0 817893 18.786 420317720/small.mp4 1 18458 817893 0 0 596.544 - -
420317720 - - - 9/17/2014 9:50:07 853364606 192.168.12.108 - 0 817893 18.863 420317720/small.mp4 1 18458 817893 0 0 596.544 - -
420317720 INFO rtsp disconnect 9/17/2014 9:50:07 853364606 192.168.12.108 - 0 0 18.971 - - - - - - - 853364606 -
Then I blindly try to disable the INFO logging in our custom module, then the logging is fine. That’s weird, it’s like the logging in the custom module has somehow messed up with Wowza’s logging.
Here’s how i defined the logger in the custom module:
public static final WMSLogger logger = WMSLoggerFactory.getLogger(HTTPRandomAccessReader.class);
Here’s the original logging in the module:
if (logger.isInfoEnabled())
logger.info("HTTPRandomAccessReader.init: status:" + this.status + " length:" +
this.length + " lastModified:" + this.lastModified);
Any idea? Appreciate for any insight, thanks!