postgresql-container icon indicating copy to clipboard operation
postgresql-container copied to clipboard

Postgres container needs to support out of the box log rotation

Open bazulay opened this issue 7 years ago • 2 comments

To the best of my understanding the images do not support it currently.

bazulay avatar Mar 30 '17 17:03 bazulay

@bazulay How it should work? (linux containers are very specific environments)

omron93 avatar Mar 31 '17 07:03 omron93

Logrotation is implemented in PostgreSQL, and is enabled by default:

log_truncate_on_rotation = on
log_rotation_age = 1d

praiskup avatar Mar 31 '17 14:03 praiskup