Plesk for Windows
kb: how-to
Applicable to:
- Plesk for Windows
Question
By default, Plesk removes/rotates log files every 24 hours.
How to increase the storage period for IIS logs in Plesk for Windows?
Answer
To increase retention of IIS logs, perform the following steps:
-
Connect to the server via RDP
-
Open Command Prompt as Administrator and execute the following command:
REG ADD "HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config" /v log_pleskwebsite_history /t REG_DWORD /d 42 /f
In the command above, replace
42with the value in days the logs should be kept.
Comments
This does not work for MailEnable, despite the fact their article links to this Plesk KB :
https://www.mailenable.com/kb/content/article.asp?ID=ME020630
How to keep MailEnable longer than 1 day and NOT have Plesk deleting them ?
Please sign in to leave a comment.