Re: Enable debug logging - Mailing list pgsql-odbc

From Adrian Klaver
Subject Re: Enable debug logging
Date
Msg-id 54201E71.4050904@aklaver.com
Whole thread Raw
In response to Enable debug logging  (Bala krishna Devasani <baalaa13@gmail.com>)
List 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.klaver@aklaver.com


pgsql-odbc by date:

Previous
From: Bala krishna Devasani
Date:
Subject: Enable debug logging
Next
From: David Hedberg
Date:
Subject: Re: [PATCH] Return the correct column names in SQLTables