Logfile permissions - Mailing list pgsql-general

From Thomas Guettler
Subject Logfile permissions
Date
Msg-id 49913431.8040507@tbz-pariv.de
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Slow update
Next
From: Schwaighofer Clemens
Date:
Subject: Query Question