Increasing storage period of logs in Windows Plesk
Sometimes, it is necessary to keep log files for a long time. To avoid statistics overloading when keeping log files in the default location, the following solution has been implemented:
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:
Open regedit and 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\\mail\\accordingly. 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 Parallels Plesk.
Once you are done, log files are moved to the pointed-to folders after statistics calculation.