- Plesk for Windows
How to increase storage period for services logs on Windows in Plesk?
Currently, it is not possible to increase storage period for services logs on Windows in Plesk.
Take part in product improvement by creating a feature request in our UserVoice.
The top-ranked suggestions are likely to be included in the next versions of Plesk.
However, it is possible to move all log files to an alternate location and store them for as long as necessary. To do so, complete these steps:
Connect to the server via RDP.
Note: if direct RDP access to the server is not possible, contact server administrator for further assistance.
- Open system registry:
Go to the following key:
For 32 bit OS :
For 64 bit OS :
Create the following
For 32 bit OS:
For 64 bit OS:
Note: All three values must be created. It is important because if one of them is missing, mail log rotation will be broken and statistics will not process mail logs correctly.
Configure these values to point to the required folders, i.e., configure the values above to point to C
:\movedlogs\http\, and C
Note: By design, all three folders should be stored on the same volume. Do not create folders on separate volumes.
Ensure that Log Rotation is enabled for domains in Plesk.
Once it is done, log files are moved to the pointed-to folders after statistics calculation.