Wowza Streaming Engine versions 4.7.7 through 4.8.5 use a custom file naming structure to aid in the rollover of logs. Earlier versions, including installations that were updated to Wowza Streaming Engine 4.7.7, use the default Log4j DailyRollingFileAppender property. This article describes how to configure Wowza Streaming Engine to use the newer naming structure for both server and Wowza Streaming Engine Manager logs.
Notes:
- The instructions in this article apply to Wowza Streaming Engine 4.7.7 through 4.8.5. Wowza Streaming Engine 4.8.8.01 and later relies on built-in appender functionality in Apache Log4J 2.
- You must be signed in as an administrator to use these instructions.
- To update the log appender for Wowza Streaming Engine, open the [install-dir]/conf/log4j.properties file in a text editor and make the following changes:
- Under # Access appender, change the log4j.appender.serverAccess value to com.wowza.log4j.WowzaDailyRollingFileAppender:
log4j.appender.serverAccess=com.wowza.log4j.WowzaDailyRollingFileAppender
- Under # Error appender, change the log4j.appender.serverError value to com.wowza.log4j.WowzaDailyRollingRileAppender:
log4j.appender.serverError=com.wowza.log4j.WowzaDailyRollingFileAppender
- Under # Access appender, change the log4j.appender.serverAccess value to com.wowza.log4j.WowzaDailyRollingFileAppender:
- Save your changes and close the file.
- To update the log appender for Wowza Streaming Engine Manager, open the [install-dir]/manager/conf/log4j.properties file in a text editor and make the following changes.
- Under # Access appender, change the log4j.appender.serverAccess value to com.wowza.log4j.WowzaDailyRollingFileAppender:
log4j.appender.serverAccess=com.wowza.log4j.WowzaDailyRollingFileAppender
- Under # Error appender, change the log4j.appender.serverError value to com.wowza.log4j.WowzaDailyRollingRileAppender:
log4j.appender.serverError=com.wowza.log4j.WowzaDailyRollingFileAppender
- Under # Access appender, change the log4j.appender.serverAccess value to com.wowza.log4j.WowzaDailyRollingFileAppender:
- Save your changes and close the file.
- Restart Wowza Streaming Engine for your changes to take effect.