/var/log/postgresql/*.log {
daily
rotate 10
copytruncate
nodelaycompress
compress
notifempty
missingok
su root root
}