Server parameter 'log_retention_days' should be greater than 3 days for PostgreSQL Database Server

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

Enabling log_retention_days helps PostgreSQL Database to set the number of days a log file is retained, which in turn generates query and error logs. Query and error logs can be used to identify, troubleshoot, and repair configuration errors and sub-optimal performance.

Remediation

From the console

  1. Log in to Azure Portal.
  2. Go to Azure Database for PostgreSQL server.
  3. For each database, click Server parameters.
  4. Search for log_retention_days.
  5. Enter a value in range 4-7 (inclusive) and save.