pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Enable debug logging
Date: Mon, 22 Sep 2014 06:04:49 -0700
Message-ID: <54201E71.4050904@aklaver.com> (raw)
In-Reply-To: <CADuPSmaS5xLcEcg3Rmd4jRBqiMivK3hcFsPbPoZDrEPLMhwc-g@mail.gmail.com>
References: <CADuPSmaS5xLcEcg3Rmd4jRBqiMivK3hcFsPbPoZDrEPLMhwc-g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 09/22/2014 02:49 AM, Bala krishna Devasani wrote:
> how to enable debug logging for postgresql.. can anyone provide steps to
> enable debug logging.

Not clear whether you are talking about the psqlodbc driver or the 
Postgres server or both.

If its the driver then:

http://psqlodbc.projects.pgfoundry.org/docs/config.html

MyLog (C:\mylog_xxxx.log): Log debug messages to that file. This is good 
for debugging problems with the driver.


If its the server then:

http://www.postgresql.org/docs/9.3/interactive/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WH...

Look at table 18.1 for the log levels.

>
>
> Thanks & Regards
> Balakrishna
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (2+ messages)

Message-ID: <54201E71.4050904@aklaver.com>
Permalink:  ../54201E71.4050904@aklaver.com/
Also on:    postgresql.org/message-id/54201E71.4050904@aklaver.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com
  Subject: Re: Enable debug logging
  In-Reply-To: <54201E71.4050904@aklaver.com>
  References: <CADuPSmaS5xLcEcg3Rmd4jRBqiMivK3hcFsPbPoZDrEPLMhwc-g@mail.gmail.com> <54201E71.4050904@aklaver.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