Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 18:21:29 +0000
From:      "Emilio Manuel" <curioso1100@hotmail.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   problem Postgres rotation logs
Message-ID:  <Law15-F44wQ1AoMEDYm00039ec8@hotmail.com>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Law15-F44wQ1AoMEDYm00039ec8>