From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | "surabhi(dot)ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres log file |
Date: | 2005-11-29 12:10:17 |
Message-ID: | 438C4529.1000502@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
surabhi.ahuja wrote:
> hi
> I start postmaster by giving the following command
>
> /usr/bin/pg_ctl -w -l postgreslog -D $PGDATA -p /usr/bin/postmaster -o '-p ${PGPORT}' start
>
> however nothing gets looged in postgrelog.
>
> if i see postgreslog it shows me only this:
> LOG: logger shutting down
> LOG: logger shutting down
Does the PostgreSQL server process have permission to write to the file
"postgrelog" in whatever directory this is?
Normally you'd create a directory owned by user postgres (e.g.
/var/log/postgresql) and then log to a file in that directory.
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Timothy Perrigo | 2005-11-29 12:55:26 | Re: problem with psql? |
Previous Message | Martijn Meijers | 2005-11-29 12:03:39 | [indexing] 2d spatial + 1d value in one index? |