Thread: log_statement at postgres.conf
Dear all,
After setting log_statement='all' at postgres.conf,
then i'm rebooting OS [freeBSD or CentOS],
i can't find where log file created from log_statement='all' located...
FYI, location of postgres.conf at /var/lib/pgsql/data/postgres.conf
many thanks..
--
If you have any problem with our services ,
please contact us at 70468146 or e-mail: helpdesk@ijs.co.id
PT Indra Jaya Swastika | Jl. Kalianak Barat 57A | +62-31-7481388
Στις Thursday 17 July 2008 11:43:28 ο/η System/IJS - Joko έγραψε: > Dear all, > > After setting log_statement='all' at postgres.conf, > then i'm rebooting OS [freeBSD or CentOS], > i can't find where log file created from log_statement='all' located... > FYI, location of postgres.conf at /var/lib/pgsql/data/postgres.conf > it is the log_destination variable which dictates that. > many thanks.. > > Regards, > Joko [SYSTEM] > PT. Indra Jaya Swastika > Phone: +62 31 7481388 Ext 201 > http://www.ijs.co.id > > -- > If you have any problem with our services , > please contact us at 70468146 or e-mail: helpdesk@ijs.co.id > PT Indra Jaya Swastika | Jl. Kalianak Barat 57A | +62-31-7481388 > -- Achilleas Mantzios
Inside the database, you can query the pg_settings table.
select * from pg_catalog.pg_settings where name = 'log_directory';
To see other stuff you can get from that table, try:
select name from pg_catalog.pg_settings; From: Achilleas Mantzios <achill@matrix.gatewaynet.com> |