Search Postgresql Archives

Re: DB problem

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

 



2006/12/26, vinayakr@xxxxxxxxxxx <vinayakr@xxxxxxxxxxx>:

I think the logs are not enabled in my DB. So I set the following options in
postgresql.con file

you are using some options which came with later postgresql releases.

log_timestamp= true
ok
log_directory=pg_log
wrong (available from 8.0)
log_filename=%Y-%m-%d_%H%M%S.log
wrong (available from 8.0)
log_disconnections=true
wrong (available from 8.0)
log_hostname=true
wrong (available from 7.4)
log_statement=true
OK

you can review all runtime options for 7.3 here:
http://www.postgresql.org/docs/7.3/static/runtime-config.html


When you install the DB, the logs are enabled by default?
Would you pls tell me still what setting need to be done?

for 7.3, the default was to log to standard output.
so you will have to redirect it, either to syslog (by setting syslog =
1), or to a file using shell redirection, or with pg_ctl option.
see http://www.postgresql.org/docs/7.3/static/app-pg-ctl.html


F.


[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