On my mac os x development machine, I have postgres 9.1 installed to `/Library/PostgreSQL/9.1` and the data directory for PostgreSQL is in `/Library/PostgreSQL/9.1/data` I have configured logging so I get good logs out of postgres about what sql queries are executing on the server .... etc such that these are written to `/Library/PostgreSQL/9.1/data/pg_log` I am using the enterprise db pre packaged postgres binary. 

The problem is that $PGDATA is owned by the postgres user which is running the postgres processes. When I changed the permissions on the data directory with `chmod o+xr data` postgres refused to start and tells me that it can not start with the postgres directory having permissions to anything but the postgres user. 

```
FATAL:  data directory "/Library/PostgreSQL/9.1/data" has group or world access
DETAIL:  Permissions should be u=rwx (0700)

```

Having to sudo in and out of the postgres dir just to get at the log files is annoying.

What is a good way to configure postgres logging on Mac OS X so that it is easy to access the log files from any user that is logged in, rather than having to use sudo or be the postgres user?

**UPDATE** See my answer below, for the exact recipe I used to make it work.