problem Postgres rotation logs

Emilio Manuel curioso1100 at hotmail.com
Sat Jun 14 11:21:30 PDT 2003


I use Postgres as database for my web site. Postgres write logs to 
/var/log/pgsql.log.

To make log rotation, I append:

/var/log/pgsql          pgsql:pgsql     600  4     *    $W0D23  Z

to /etc/newsyslog

The rotation works fine and Postgres still work after it occurs, but until I 
stop and start again Postgres, it doesn’t write any line to the new file 
/var/log/pgsql.log

¿What am I doing wrong?

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/



More information about the freebsd-questions mailing list