Changing Software Logging Level via Configuration File
-----------------------------------
Affected Roles: Administrator, Power User
Related Digital Watchdog VMS Apps: DW Spectrum
Software Version: DW Spectrum 6.0
Last Edit: March 24, 2025
-----------------------------------
Application Server Logs
As DW Spectrum runs, the system will create a Server log that keeps a record of all Server transactions in basic text form, while a Desktop Client log keeps a record of all client interactions. In certain cases, to speed up and simplify the troubleshooting process, you may be asked to provide support technicians with Server or Desktop Client logs.
There are multiple ways to obtain these logs:
- Through the DW Spectrum Client application
- Through the application file directory
- By following log files in real-time
This article will outline how to change the Desktop Client and Server logging level of DW Spectrum on Windows, Ubuntu, and Macintosh (client only) using the Windows Registry Editor, or with an Ubuntu or macOS configuration file.
Related Articles
- DW Spectrum – Configuring Log Files with the Desktop Client
- DW Spectrum – Finding Server Logs with File Directory
- DW Spectrum – Modifying Server Logging Level with Web Admin
- DW Spectrum – Following Log Files in Real-Time
Part 1: Changing the Server Configuration File
Windows Registry Editor
- To increase the logging level using the Registry Editor:
- Open the Registry Editor tool.
-
- In the Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Digital Watchdog\Digital Watchdog Media Server
- Add a logLevel string, and set the desired value (e.g., DEBUG2).
Click OK to save.
- Restart the Media Server to apply changes.
- Server logs will be available at:
C:\Windows\System32\config\systemprofile\AppData\Local\Digital Watchdog\Digital Watchdog Media Server\log
Ubuntu Configuration File
- To change the log level, open vi editor and modify the server config file:
/opt/digitalwatchdog/mediaserver/etc/mediaserver.conf
- Add a logLevel string, set the desired value (e.g., DEBUG2), then save the modified file.
- Restart the Media Server to apply changes
- Application logs will be available at:
/opt/digitalwatchdog/mediaserver/var/log
Part 2: DW Spectrum Desktop Client
Windows Registry Editor
- Stop all running desktop client instances (including Videowall) on the client computer.
- To increase the logging level using the Registry Editor.
- Open the Registry Editor tool.
-
- In the Registry Editor, navigate to:
HKEY_CURRENT_USER\SOFTWARE\Digital Watchdog\Digital Watchdog DW Spectrum Client
- Find the logLevel, then double-click to select it.
Set the desired Value data (e.g., DEBUG2) then click OK to save.
- Start the DW Spectrum Client to apply the changes.
- The Desktop Client logs are now available in:
C:\Users\%username%\AppData\Local\Digital Watchdog\Digital Watchdog DW Spectrum Client\log
Ubuntu Configuration File
- Stop all running Desktop client instances (videowall included) on the specific client computer.
- To change the log level open vi editor and modify the client config file:
/home/%username%/config/Digital Watchdog/Digital Watchdog DW Spectrum Client.conf
- Find the logLevel string, set the desired value (e.g., DEBUG2), then save the modified value.
- Start the client to apply changes.
- Desktop Client logs will be available at:
/home/%username%/.local/share/Digital Watchdog/client/default
Macintosh Configuration File
- Stop all running Desktop client instances (videowall included) on the specific client computer.
- Open Terminal and convert the Desktop Client's config file from binary to .xml format:
plutil -convert xml1 ~/Library/Preferences/com.digital-watchdog.Digital\ Watchdog\ DW\ Spectrum\ Client.plist
- Open the converted config file with the vim command:
vim ~/Library/Preferences/com.digital-watchdog.Digital\ Watchdog\ DW\ Spectrum\ Client.xml
- Find the line <key>logLevel</key> by entering the search command:
/logLevel
- Enter edit mode by pressing “i" and edit the line directly under the highlighted search result. It should be changed from “<string>none</string>” to “<string>DEBUG2</string>”.
If it cannot be found in the file, create the <key>logLevel</key> entry yourself.
- Press the ESC button, then type the command “:wq” and press the ENTER key.
- Desktop Client logs will be available at:
~/Library/Application Support/Digital Watchdog/Digital Watchdog DW Spectrum Client/log
For More Information or Technical Support
DW Technical Support: 866.446.3595 (option 4)
https://www.digital-watchdog.com/contact-tech-support/
______________________________________________________________________________
DW Sales: 866.446.3595 [email protected] www.digital-watchdog.com