Skip to Content.
Sympa Menu

freetds - Re: [freetds] Log, patch and format

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Log, patch and format
  • Date: Fri, 10 Dec 2004 08:32:15 -0500

"ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com> wrote:
>
> As you can see FUNC and NETWORK suggest a type of log while others
> suggest a level. I think that looking at priority SEVERE > ERROR > WARN
> > INFO2 > INFO1 but I don't know where to put NETWORK and FUNC...
> Perhaps a mask that can filter any type/level of log and informations
> types would be better. For example:
> 0x01 FUNC
> 0x02 INFO1
> 0x04 INFO2
> 0x08 NETWORK
> 0x10 WARN
> 0x20 ERROR
> 0x40 SEVERE
> 0x10000 PID
> 0x20000 TIME
> 0x40000 SOURCE
> 0x80000 THREAD ??
>
> (default 0x4ffff)

Good suggestion. I don't know where INFO1 and INFO2 came from; '1' and
'2' don't suggest much to me (except less and more). And somewhere along
the line we lost a distinct login-packet level.

I'll review the Sybase logging for more ideas. But I think the
width/length separation you're proposing is very good.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page