Re: logfile subprocess and Fancy File Functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: logfile subprocess and Fancy File Functions
Date: 2004-07-24 17:09:37
Message-ID: 5249.1090688977@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> One issue is that the log files might be in /var/log with other server
> logs.

Probably not; it seems unlikely that the postgres user would have write
permission on /var/log, as it would have to have to do log rotation in
such a case. I'd expect anyone putting PG logs under /var/log to create
a postgres-owned subdirectory for 'em.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-07-24 17:13:48 Re: logfile subprocess and Fancy File Functions
Previous Message Bruce Momjian 2004-07-24 17:08:02 Re: logfile subprocess and Fancy File Functions