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/


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to