Article ID: 3545, created on Jan 6, 2008, last review on Feb 24, 2015

  • Applies to:
  • Plesk 12.0 for Windows
  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk 10.4 for Windows


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:

  1. Open regedit and go to the following key:

    For 32 bit OS : HKLM\SOFTWARE\Plesk\PSA Config\Config

    For 64 bit OS : HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config

  2. Create the following REG_SZ registry values:

    For 32 bit OS:

    HKLM\SOFTWARE\Plesk\PSA Config\Config\SaveFTPLogsDirectory
    HKLM\SOFTWARE\Plesk\PSA Config\Config\SaveHTTPLogsDirectory
    HKLM\SOFTWARE\Plesk\PSA Config\Config\SaveMailLogsDirectory

    For 64 bit OS:

    HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\SaveFTPLogsDirectory
    HKLM\SOFTWARE\Wow6432Node\PLESK\PSA Config\Config\SaveHTTPLogsDirectory
    HKLM\SOFTWARE\Wow6432Node\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 the required folders, i.e., configure the values above to point to c:\movedlogs\ftp\, c:\movedlogs\http\, and c:\movedlogs\mail\ accordingly. Note: By design, all three folders should be stored on the same volume. Do not create folders on separate volumes.

  4. Ensure that Log Rotation is enabled for domains in Parallels Plesk.

  5. Once you are done, log files are moved to the pointed-to folders after statistics calculation.

Search Words

Remain all the SMTP activity log files

mail enable log

85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c bd7fc88cf1b01f097749ae6f87272128 56797cefb1efc9130f7c48a7d1db0f0c c796c01d6951fa24ed54c7f1111667c6 514af229ae32522202a910a2649c80fb ff5a00b8ead2e480367b019417a04207 46a8e394d6fa13134808921036a34da8 ed7be2b984f9c27de1d2dc349dc19c6d a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF