Configure the Log4j file appender

Wowza Streaming Engine 4.7.7 and later uses 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 new naming structure for both server and Wowza Streaming Engine Manager logs.

Note: You must be signed in as an administrator to use these instructions.

  1. 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
  2. Save your changes and close the file.
  3. 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
  4. Save your changes and close the file.
  5. To update the winstone log appender, open the [install-dir]/manager/conf/winstone-log4j.properties file in a text editor and change the change the log4j.appender.serverAccess value to com.wowza.log4j.WowzaDailyRollingFileAppender:
    log4j.appender.serverAccess=com.wowza.log4j.WowzaDailyRollingFileAppender
  6. Save your changes and close the file.
  7. Restart Wowza Streaming Engine for your changes to take effect.

More resources