Hi list,
Is there any extra configuration to run postgresql 7.3.2 logs
with logrotate?
I tried the following script at /etc/logrotate.d:
/var/log/postgresql/postgresql.log {
daily
rotate 5
compress
create
}
the problem is that after it does its first rotation (create a
compressed copy of the log) and the new log file created, any new
message originated from postgresql is not saved in log file...
I do start postgres with:
pg_ctl start -o -i -l /var/log/postgresql/postgresql.log
What am I doing wrong? Does Postgresql need to be restarted? How can I
do it?
Tkns
-----------------------------
Renê Salomão
Ibiz Tecnologia -- www.ibiz.com.br
(011) 5579-3178 - R. 211