Secure Agent Services > Process Server > Configuring PostgreSQL log rotation
  

Configuring PostgreSQL log rotation

The PostgreSQL log contains logging information for the PostgreSQL database that is packaged with the Secure Agent.
The PostgreSQL log is available in the following directory:
<Secure Agent installation directory>\apps\process-engine\logs\PostGreSql\postgresql.log
The PostgreSQL log can become very large and difficult to manage over time. You can configure log rotation to reduce the file size and manage the file easily. You can configure log rotation based on time or file size.
    1Create a file named user.conf in the following location if it does not already exist:
    <Secure Agent installation directory>\apps\process-engine\data\PostGreSql\Data
    The user.conf file overrides the values defined in the postgresql.conf file.
    2Perform one of the following steps:
    3Save the user.conf file.
    4Restart the PostgreSQL database for the change to take effect.