Fwd: How to turn off logging

From: Andrey Bugaenko <andbugaenko(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Fwd: How to turn off logging
Date: 2021-11-25 08:00:42
Message-ID: CAECPhj2fUXJbsT_39Z-KBMU5_yex=fYT4A_BJHxxhY+X-sV3vA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi
Im using ODBC driver to connect MS Access to Postgresql server. And I got
40GB of log files in no time. Also I suspect that because of this writing
some form are very slow.

It creates mylog_MSACCESS_23180.log in C:\Users\<Current User>
[1600-0.000] mylog.c[logs_on_off]274: mylog_on=1 qlog_on=0
[1600-0.000]connection[CC_connect]1108: entering...sslmode=disable
[1600-0.000]connection[LIBPQ_CC_connect]1080: entering...
[1600-0.000]connection[CC_initial_log]1028: [QLOG]Driver
Version='13.02.0000,Sep 22 2021' linking 1916 dynamic Multithread library
[1600-0.000]connection[CC_initial_log]1063: DSN = 'PostgreSQL35W',

But this is strange because I didnt check to log in settings
[image: image.png]

How I can set mylog_on to 0?

UPD
my ODBC version is 13.02 (latest I found on this site)
[image: image.png]
my PostgreSQL version is
PostgreSQL 13.3 (Ubuntu 13.3-1.pgdg20.04+1) on x86_64-pc-linux-gnu,
compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit

I have no errors, except end of disk space due log files

Browse pgsql-odbc by date

  From Date Subject
Next Message Jan-Willem Goossens 2021-12-01 09:44:02 Supported PG versions
Previous Message Farid z 2021-11-23 15:31:21 RE: Bug report: odbc driver does not convert wide chars to chars