Search Postgresql Archives

Re: postgres log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux