Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change debug flags in freetds.conf #535

Open
KarimElsayad247 opened this issue May 14, 2023 · 0 comments
Open

Unable to change debug flags in freetds.conf #535

KarimElsayad247 opened this issue May 14, 2023 · 0 comments

Comments

@KarimElsayad247
Copy link

Before submitting an issue please check these first!

Environment

Operating System

  • Running in a docker container
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
Linux example_app 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 GNU/Linux

TinyTDS Version and Information

Compile-time settings (established with the "configure" script)
                            Version: freetds v1.1.24
             freetds.conf directory: /usr/local/etc
     MS db-lib source compatibility: no
        Sybase binary compatibility: no
                      Thread safety: yes
                      iconv library: yes
                        TDS version: 7.3
                              iODBC: no
                           unixodbc: no
              SSPI "trusted" logins: no
                           Kerberos: no
                            OpenSSL: yes
                             GnuTLS: no
                               MARS: yes

FreeTDS Version

freetds v1.1.24

Description

So I was trying to debug a particular issue, and for that I wanted to reduce the noise in freetds.log, and it didn't seem like my changes were picked up.

setting debug flags = 0x80 in /usr/local/etc/freetds.conf doesn't do anything, same with dump file

After some digging I found that TinyTDS simpley ignores freetds.conf, and changing anything there has no effect.

My question then becomes: how do I configure log level for freetds when I'm using tinytds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant