Configure a custom location for Wowza Streaming Engine log files

Wowza Streaming Engine™ media server software uses the Apache Log4j Java logging framework for logging.  The default locations of Wowza Streaming Engine logs are [install-dir]/logs and [install-dir]/manager/logs. If you need to change the location of your logs, create the new directory as a symbolic link (symlink). Using symlinks ensures that the logs are written to the correct location and that Wowza Streaming Engine Manager pulls log information from the correct location.

Create symlinks in Windows

  1. Create new log folders in the desired custom location.
  2. Delete the default log folders in [install-dir]\logs and [install-dir]/manager/logs.
  3. Run the following command as an administrator to create a symlink for Wowza Streaming Engine log files:
    mklink /D [install-dir]\logs C:\Users\[username]\[pathToNewLogs]
    mklink /D [install-dir]\manager\logs C:\Users\[username]\[pathToNewLogs]
    Where:
    • [username] is your username on the operating system
    • [install-dir] is the location at which Wowza Streaming Engine is installed
    • [pathToNewLogs] is the path to the new location for Wowza Streaming Engine logs

Create symlinks in Linux

  1. Create new log folders in the desired custom location.
  2. Delete the default log folders in [install-dir]/logs and [install-dir]/manager/logs.
  3. Run the following command as an administrator to create a symlink for Wowza Streaming Engine log files:
    ln -s /[pathToNewLogs] [install-dir]/logs
    ln -s /[pathToNewLogs] [install-dir]/manager/logs
    Where:
    • [username] is your username on the operating system
    • [install-dir] is the location at which Wowza Streaming Engine is installed
    • [pathToNewLogs] is the path to the new location for Wowza Streaming Engine logs