TMAegisБета
Више правила за postgres

PostgreSQL

TMA-POSTGRES-3.1.9

Ensure the maximum log file size is set correctly

НискаНиво 1Ручни прегледpostgres

Опис

The log_rotation_size setting determines the maximum size of an individual log file. Once the maximum size is reached, automatic log file rotation will occur.

Како се проверава

Метод провере: Ручни преглед

Ова препорука се не може проверити аутоматски. Скенирање је наводи са овим упутствима када проследите --include-manual.

Run SHOW log_rotation_size; (default 0, size-based rotation disabled) and confirm the value matches your logging policy.

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

ALTER SYSTEM SET log_rotation_size = '1GB'; (example) then SELECT pg_reload_conf();

Својства

Оперативни системи
Било који
Ознаке
postgresdatabaseloggingmanual
Референца
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.9 Ensure the maximum log file size is set correctly