Skip site navigation (1) Skip section navigation (2)

Re: log_statement at postgres.conf

From: Rex Mabry <rexmabry(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: log_statement at postgres.conf
Date: 2008-07-17 13:33:18
Message-ID: 443728.33012.qm@web35905.mail.mud.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin
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;

--- On Thu, 7/17/08, Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> wrote:

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Subject: Re: [ADMIN] log_statement at postgres.conf
To: pgsql-admin(at)postgresql(dot)org, "System/IJS - Joko" <system(at)ijs(dot)co(dot)id>
Date: Thursday, July 17, 2008, 4:51 AM

Στις 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(at)ijs(dot)co(dot)id
> PT Indra Jaya Swastika | Jl. Kalianak Barat 57A | +62-31-7481388
> 



-- 
Achilleas Mantzios

In response to

pgsql-admin by date

Next:From: Andrew SullivanDate: 2008-07-17 13:38:49
Subject: Re: Very Urgent : Db processes are increasing
Previous:From: Achilleas MantziosDate: 2008-07-17 09:51:47
Subject: Re: log_statement at postgres.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group