Re: Enable debug logging

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Enable debug logging
Date: 2014-09-22 13:04:49
Message-ID: 54201E71.4050904@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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-WHEN

Look at table 18.1 for the log levels.

>
>
> Thanks & Regards
> Balakrishna
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message chava 2014-09-22 16:54:39 Re: 126 Error Connecting With psqlODBC 32 bit
Previous Message Bala krishna Devasani 2014-09-22 09:49:58 Enable debug logging