On 3/26/14, Jan Stary <[email protected]> wrote: > I am trying to setup syslog logging > for a postgresql 9.3.2 server on current/amd64. > All goes well except, the postgresql server seems > to not notice whan the log rotates via newsyslog. > > /var/postgresql/logfile 600 100 * @T00 Z > > When this happens, no fourther messages are logged; > as if the server hasn't noticed that the logfile > got rotated under its feet. Sending HUP only makes > the server reread configuration, not reopen logfiles. > > Is someone using syslog for postgresql, > and rotating without this problem?
Can't be sure with limited info you provided (where is your postgresql.conf file?), but, it doesn't sound like you are using syslogd for postgresql logging. you are only using newsyslog to rotate the log file. --patrick
