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
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\ correspondently.
4. Ensure that Log Rotation is enabled in Plesk
5. Once it’s done log files are moved to pointed folders after statistics calculation