From: Rex Mabry <rexmabry@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: log_statement at postgres.conf
Date: Thu, 17 Jul 2008 06:33:18 -0700 (PDT)
Message-ID: <443728.33012.qm@web35905.mail.mud.yahoo.com> (raw)
In-Reply-To: <200807171251.48345.achill@matrix.gatewaynet.com>
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@matrix.gatewaynet.com> wrote:
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
Subject: Re: [ADMIN] log_statement at postgres.conf
To: pgsql-admin@postgresql.org, "System/IJS - Joko" <system@ijs.co.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@ijs.co.id
> PT Indra Jaya Swastika | Jl. Kalianak Barat 57A | +62-31-7481388
>
--
Achilleas Mantzios
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: rexmabry@yahoo.com
Subject: Re: log_statement at postgres.conf
In-Reply-To: <443728.33012.qm@web35905.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox