Analyze Wowza Streaming Engine logs with a log file analysis tool

Output the best log file for use with log file analysis tools to analyze Wowza Streaming Engine™ media server software log files.

Note: The instructions in this article apply to Wowza Streaming Engine 4.8.8.01 and later. For version 4.8.5 and earlier, see Use Sawmill to analyze Wowza Streaming Engine logs (legacy).
  1. Navigate to the Wowza Streaming Engine [install-dir]/conf/log4j2-config.xml file, and open it in a text editor.
  2. In <Loggers>/<Root level="info>, uncomment the stdout, serverAccess, serverError, serverStats, vhostAccess, and vhostError appender references:
     
    <Loggers>
    	<Root level="info">
    		<AppenderRef ref="stdout" level="info"/>
    		<AppenderRef ref="serverAccess" level="info"/>
    		<AppenderRef ref="serverError" level="warn"/>
    		<AppenderRef ref="serverStats" level="info"/>
    		<AppenderRef ref="vhostAccess" level="info"/>
    		<AppenderRef ref="vhostError" level="warn"/>
    		<!-- <AppenderRef ref="applicationAccess" level="info"/> -->
    		<!-- <AppenderRef ref="applicationError" level="warn"/> -->
    		<!-- <AppenderRef ref="applicationInstanceAccess" level="info"/> -->
    		<!-- <AppenderRef ref="applicationInstanceError" level="warn"/> -->
    	</Root>
    </Loggers>

    Wowza Streaming Engine will now write a log file named wowzastreamingengine_stats.log. This is the best log file for log analysis.

  3. Import wowzastreamingengine_stats.log into your log file analysis tool.