Logfile permissions

From: Thomas Guettler <hv(at)tbz-pariv(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Logfile permissions
Date: 2009-02-10 08:00:49
Message-ID: 49913431.8040507@tbz-pariv.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

my logfiles all have this permission:

-rw------- 1 postgres postgres 14841 10. Feb 08:52
postgresql-2009-02-10_000000.log

Is it possible that postgres creates group readable files? I want to
monitor this logfile, but
for security I don't want to use the postgres user for this.

I looked at this documentation and could not find a solution:
http://www.postgresql.org/docs/8.2/static/runtime-config-logging.html

I use this settings:

log_destination = 'stderr'
redirect_stderr = on

Since the server is linux, I could use syslog, too. But somehow I want
to stay with the defaults (SuSE).

How do you check your logfiles?

Thomas Güttler

--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Schwaighofer Clemens 2009-02-10 10:30:48 Query Question
Previous Message Alban Hertroys 2009-02-10 07:58:00 Re: Slow update