Question
This article describes the debug logging for the Plesk backend utilities (i.e. utilities within the
folder). It is also applicable for troubleshooting of the Plesk integration with a third-party application (like mail or DNS server). For all other cases, it is sufficient to enable debug logging described in this KB article.
%plesk_bin%
Answer
To enable debug logging for the Plesk backend utilities:
- Log into the server via RDP.
-
Create (if it does not exist) the
registry entry of type
HKLMSOFTWAREWow6432NodePLESKPSA ConfigConfigDebug
. Set its value to 1. You can use the
DWORD
utility or run the following command in the command-line:
regedit.exe
C:> REG ADD "HKLMSOFTWAREWow6432NodePLESKPSA ConfigConfig" /v Debug /t REG_DWORD /d 1 /f
-
Debug information is start logging immediately in the Event Viewer > Applications and Services Logs > Plesk and into the
file, where YYYYmmdd represents current day of the year.
%plesk_dir%adminlogsplesklog_debugYYYYmmdd.log
Note: It is strongly recommended to switch off debug logging once it is not necessary as it may slow down your server performance and consume a lot of disk space.
To disable logging for the Plesk backend utilities:
Set the
registry entry value to 0 or just remove it. Command-line examples below:
HKLMSOFTWAREPLESKPSA ConfigConfigDebug
-
To check registry entry:
C:> REG QUERY "HKLMSOFTWAREWow6432NodePLESKPSA ConfigConfig" /v Debug
-
To switch off:
C:> REG ADD "HKLMSOFTWAREWow6432NodePLESKPSA ConfigConfig" /v Debug /t REG_DWORD /d 0 /f
-
To delete entry:
C:> REG DELETE "HKLMSOFTWAREWow6432NodePLESKPSA ConfigConfig" /v Debug /f