Wowza Streaming Engine™ (WSE) media server software uses the Apache Log4j Java logging framework for logging. By default, WSE logs are stored in the following locations: [install-dir]/logs and [install-dir]/manager/logs. To change your logs' location, create the new directory as a symbolic link (symlink). Using a symlink ensures that the logs are written to the correct location and that WSE Manager pulls log information from the correct location.
Note: Symlinks are not supported by default for Wowza Streaming Engine due to Log4j2 logging.
Create symlinks in Windows
- Create log folders in the desired custom location.
- Delete the both of the default log folders:
[install-dir]\logs-
[install-dir]/manager/logs
- Create a symlink for the WSE log files by running the following commands as an admin:
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
- Create new log folders in the desired custom location.
- Delete the default log folders in [install-dir]/logs and [install-dir]/manager/logs.
- 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




