On 2014/03/26 20:23, Jan Stary 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?
> 
>       Jan
> 

The default logging is done by a redirection in pg_ctl (which is used by
the rc.d script to start the daemon). So signalling the postgresql daemon
won't do anything to help.

I think what you're probably looking for is "log_destination = 'syslog'".

Reply via email to