Skip to content

Unable to change debug flags in freetds.conf #535

@KarimElsayad247

Description

@KarimElsayad247

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions