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).
- Navigate to the Wowza Streaming Engine [install-dir]/conf/log4j2-config.xml file, and open it in a text editor.
- 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.
- Import wowzastreamingengine_stats.log into your log file analysis tool.