pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Gerardo Herzig <gherzig@fmed.uba.ar>
Cc: pgsql-sql@postgresql.org
Subject: Re: log file permissions?
Date: Fri, 16 Mar 2007 09:18:33 -0700
Message-ID: <45FAC359.8020000@pinpointresearch.com> (raw)
In-Reply-To: <45FABCC8.3090901@fmed.uba.ar>
References: <45FABCC8.3090901@fmed.uba.ar>

Gerardo Herzig wrote:
> Hi dudes. I have my pg log file rotation configured so i have a
> psql_`today`.log. The thing is, can i configure postgres so the file
> permissions (today is 600) could by 640, so developers could login and
> tailf the logfile (without using the postgres superuser, course)?

This really belongs over in admin.

Are you logging through syslog or stdout (ie. what are the following
settings in postgresql.conf and are they in any way overridden by your
startup scripts)?:
syslog =
syslog_facility =
syslog_ident =

If your are logging through syslog, then postgres has no control over
those permissions. You will have to look at your syslog daemon
configuration.

Cheers,
Steve



view thread (3+ messages)  latest in thread

Message-ID: <45FAC359.8020000@pinpointresearch.com>
Permalink:  ../45FAC359.8020000@pinpointresearch.com/
Also on:    postgresql.org/message-id/45FAC359.8020000@pinpointresearch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: scrawford@pinpointresearch.com, gherzig@fmed.uba.ar
  Subject: Re: log file permissions?
  In-Reply-To: <45FAC359.8020000@pinpointresearch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox