Re: Log rotation

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Fernando Nasser <fnasser@redhat.com>, Lamar Owen <lowen@pari.edu>, pgsql-hackers@postgresql.org
Date: 2004-03-14T18:59:54Z
Lists: pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> What versions of syslog fsync, and where is the syslog.conf option. I
> don't see it on FreeBSD or Linux.

It's a per-output-file option.  My Linux manpage for syslogd quoth

      The - may only be used to prefix a filename if you want to omit
      sync'ing the file after every write to it.

I believe this notation is inherited from BSD.  I don't see anything
about it in the HPUX man page for syslogd, though.

			regards, tom lane