Skip to Content.
Sympa Menu

freetds - [freetds] How can I control 'debug level' ?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: 大信 李昶雨 <hammer AT daishin.co.kr>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] How can I control 'debug level' ?
  • Date: Thu, 22 Sep 2005 10:52:57 +0900

Hi all,

I have just started with FreeTDS 0.63 in RedHat Linux to connect to MS-SQL
2000.

The Install and unit-test succeed. After that I cheek dump log
(freetds.log) to see its operation then I find too much log data in it.

So I try to reduce log data with ‘debug level’ setting in freetds.conf
like below:



[global]

tds version = 8.0

dump file = /tmp/freetds.log

dump file append = yes

debug level = 10 ;It doesn't work... -_-;



[MSSQL_2K]

host = PMSDB

port = 1433

tds version = 8.0

debug level = 10 ;It also doesn't work... -_-;



But I failed to control ‘debug level’ setting.



And I use TDSDUMPCONFIG environment variable, I also can’t find ‘debug
level’ setting.



18:12:26.064006 Starting log file for FreeTDS 0.63

on 2005-09-21 18:12:26 with debug level 99.

18:12:26.064069 Attempting to read conf files.

18:12:26.064081 ...$FREETDSCONF not set. Trying $FREETDS/etc.

18:12:26.064089 ...$FREETDS not set. Trying $HOME.

18:12:26.064410 Found conf file '/usr/local/etc/freetds.conf' (default).
Reading section ' MSSQL_2K '.

18:12:26.064425 Looking for section global.

18:12:26.064459 ... Found section global.

18:12:26.064467 Got a match.

18:12:26.064475 option = 'tds version' value = '8.0'.

18:12:26.064495 option = 'dump file' value = '/tmp/freetds.log'.

18:12:26.064506 option = 'dump file append' value = 'yes'.

18:12:26.064514 yes is a 'yes/on/true'.



Thanks in advance

Hammer



P.S. English is not my mother tongue. So I’m sorry to my poor English. :-)





Archive powered by MHonArc 2.6.24.

Top of Page