Articles in this section

How to enable/disable debug logging for Plesk backend utilities on Windows

Plesk for Windows ABT: Group A kb: auxiliary

Applicable to:

  • Plesk for Windows

Question

This article describes the debug logging for the Plesk backend utilities (i.e. utilities within the %plesk_bin% 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.

Answer

To enable debug logging for the Plesk backend utilities:

  1. Log into the server via RDP.
  2. Create (if it does not exist) the HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\Debug registry entry of type DWORD . Set its value to 1. You can use the regedit.exe utility or run the following command in the command-line:

    C:\> REG ADD "HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" /v Debug /t REG_DWORD /d 1 /f

  3. Debug information is start logging immediately in the Event Viewer > Applications and Services Logs > Plesk and into the %plesk_dir%admin\logs\plesklog_debugYYYYmmdd.log file, where YYYYmmdd represents current day of the year.

Note: It is strongly recommended that you switch off debug logging when it is no longer necessary, as this can slow down server performance and consume a lot of disk space.

To disable logging for the Plesk backend utilities:

Set the HKLM\SOFTWARE\PLESK\PSA Config\Config\Debug registry entry value to 0 or just remove it. Command-line examples below:

  • To check registry entry:

    C:\> REG QUERY "HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" /v Debug

  • To switch off:

    C:\> REG ADD "HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" /v Debug /t REG_DWORD /d 0 /f

  • To delete entry:

    C:\> REG DELETE "HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" /v Debug /f

 

Related Articles

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.