Solution
Sometimes it is necessary to keep log files for a long time. To avoid statistics overloading in case of keeping log files in default location the following solution has been implemented:
It is possible to move all log files to some another location and store them for so long as it is necessary. To do so:
1. Open regedit and go to the following key HKLM\SOFTWARE\Plesk\PSA Config\Config
2. Create the following REG_SZ registry values:
HKLM\SOFTWARE\Plesk\PSA Config\Config\ SaveFTPLogsDirectory
HKLM\SOFTWARE\Plesk\PSA Config\Config\ SaveHTTPLogsDirectory
HKLM\SOFTWARE\Plesk\PSA Config\Config\ SaveMailLogsDirectory
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.
3. Configure these values to point to required folders. E.g. configure the values above to pint to c:\movedlogs\ftp\, c:\movedlogs\http\ and c:\movedlogs\mai\ correspondingly.
Note: By design all three folders should be stored on the same volume. Please do not create folders on different volumes.4. Ensure that Log Rotation is enabled for domains in Parallels Plesk Panel
5. Once it’s done log files are moved to pointed folders after statistics calculation