Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Log file permissions?



On 1/31/08, Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk> wrote:
> I've noticed that by default postgres writes its log files read/write
> only by the postgres user.
>
> I have a nagios user I want to be able to analyse the logs.
>
> Is there a way to make postgres output them so they can be read by a
> group? Or am I going to have to write a script?

PG itself only writes to stdout/stderr or uses syslog().  The way logs
are generated and stored is distro-specific, so you need to look at
how your distro does things (perhaps modifying the startup script).

-Doug



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group