Log files and debug

Location of NICE DCV Logfiles

Linux

The DCV Server log files are in: /var/log/dcv/. The DCV logfiles e.g. the agent logfile and others will help troubleshooting DCV questions.

The DCV Gateway log files are in: /var/log/dcv-connection-gateway/

The DCV Session Manager Agent log files are in: /var/log/dcv-session-manager-agent/

The DCV Session Manager Broker log files are in: /var/log/dcv-session-manager-broker/

The DCV Viewer log will be in: ~/.local/share/NICE/dcvviewer/log/viewer.log

Windows

Typically Windows DCV Server log files are in:   C:\ProgramData\NICE\dcv\log\

The DCV Viewer log will be in: C:\ProgramData\client.log

Mac

The DCV Viewer log will be in: ~/.local/share/NICE/dcvviewer/log/viewer.log

Generate client log file

Windows

  • Open a command prompt window
  • Run the following command:
  • “C:\Program Files (x86)\NICE\DCV\Client\bin\dcvviewer” –log-level info –log-file-name C:\ProgramData\client.log
  • Connect to the server
  • The log will be saved as C:\ProgramData\client.log

Changing the debug level in the DCV Client and the DCV Server

Linux

On the server side on Linux you can add in the [log] section in /etc/dcv/dcv.conf:

[log]
log-level="debug"

This will enable debug logs after restart of the DCV server. After debugging please comment this entry again or configure the default “info”.

To restart:

systemctl restart dcvserver

The verbosity levels (in order of the amount of detail they provide) are:

  1. error
  2. warning
  3. info
  4. debug

To enable debug logs in the browser please connect adding “?logLevel=debug” to the URL – eg.: https://11.60.0.25:8443/?logLevel=debug

Windows

To create debug logfiles on the DCV client side:

  • Open a command prompt and go to the folder where the dcvviewer application is located (it is usually in C:\Program Files (x86)\NICE\DCV\Client\bin) and the start the DCV Client:
  • dcvviewer.exe --log-level=debug --log-file-name=log.txt
  • reproduce the issue
  • send us the log.txt file that has been generated in that folder

On Windows the registry entry is HKEY_USERS\S-1-5-18\Software\GSettings\com\nicesoftware\dcv\log\level where we can set the value to “debug”. In DCV on Windows the loglevel is immediately active in the DCV agent server.

To enable debug logs in the browser please connect adding “?logLevel=debug” to the URL – eg.: https://11.60.0.25:8443/?logLevel=debug

The verbosity levels (in order of the amount of detail they provide) are:

  1. error
  2. warning
  3. info
  4. debug