Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Automatically overwrite PostgreSQL logfile once reached 7 days.

To keep 7 days of logs, one log file per day named postgresql-Mon.log, postgresql-Tue.log, etc, and automatically overwrite last week’s log with this week’s log.

logging_collector=on log_filename = 'postgresql-%a.log' log_directory = 'log' log_rotation_age = 1d log_truncate_on_rotation=on

Comments

Popular posts from this blog

postgreSQL Compress format backup

How to find the server is whether standby (slave) or primary(master) in Postgresql replication ?

Top 10 Highest Paying URL Shortener Companies - Best URL Shorteners To Earn Fast

7 Steps to configure BDR replication in postgresql

Postgres Streaming Replication Configuration