[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: New Debug
I'm certainly willing to hear your ideas on the subject.
I'm not sure what you mean by a debug API. If user has
to change the code anyway, they can change it to do
whatever they want. It would be possible to have some
rudimentary log formatting options in the configuration.
It's already possible to set the log file, and syslog
facility. I'm not sure what you're trying to control.
> -----Original Message-----
> From: Loth, Karen K (Karen) [mailto:kkloth@lucent.com]
> Sent: Wednesday, February 07, 2001 2:46 PM
> To: 'Kurt D. Zeilenga'; Gary Williams
> Cc: 'Pierangelo Masarati'; OpenLDAP Devel
> Subject: RE: New Debug
>
>
> Has any thought been put into creating a more open debugging
> style? In
> other words, have a debug API that allows administrator of
> the server to
> specify the debug function that would handle formatting and
> outputting of
> the debug messages. My question stems from the fact that I
> needed to
> change the Debug macro so that debug errors/trace statements
> were reported
> in the same way that my backend db reported error/trace
> messages. Thus all
> error/trace statements ended up in the same output location.
> Does anyone
> else see a need for something like this?
>
> Thanks,
> Karen Loth Lucent Technologies - Tools and Platforms Development
> (614)860-2126 kkloth@lucent.com
>
>
> > -----Original Message-----
> > From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> > Sent: Wednesday, February 07, 2001 10:20 AM
> > To: Gary Williams
> > Cc: 'Pierangelo Masarati'; OpenLDAP Devel
> > Subject: RE: New Debug
> >
> >
> > At 07:12 AM 2/7/01 -0500, Gary Williams wrote:
> > >Well, I'd say this is a question for Kurt. It looks to me
> > like the new
> > >logging functions work, no one has complained about them,
> and I think
> > >they meet Kurt's requirements overall. I would have been
> happier if
> > >I had heard from more people that they tried it and liked
> it, or had
> > >reservations about it. Personally, I'm ready to make the
> new logging
> > >the default, unless someone has problems with it.
> >
> > Flip the switch and let's see who complains.
> >
> >
> > >> -----Original Message-----
> > >> From: Pierangelo Masarati [mailto:masarati@aero.polimi.it]
> > >> Sent: Wednesday, February 07, 2001 4:33 AM
> > >> To: gwilliams@OpenLDAP.org
> > >> Cc: OpenLDAP Devel
> > >> Subject: New Debug
> > >>
> > >>
> > >> Gary,
> > >>
> > >> maybe I missed something, but is there a schedule or
> > >> any plans for the new debug to supersede the current
> > >> one? Moreover, should contributions to OpenLDAP
> > >> use the new debug instead of the old one, or better
> > >> use both #ifdef'd as you're doing with your recent
> > >> commits to the repository?
> > >>
> > >> Pierangelo.
> > >>
> > >> --
> > >> Dr. Pierangelo Masarati | voice: +39 02 2399 8365
> > >> Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
> > >> Politecnico di Milano |
> > mailto:masarati@aero.polimi.it
> > >> via La Masa 34, 20156 Milano, Italy |
> > >> http://www.aero.polimi.it/~masarati
> > >>
> > >>
> > >>
> >
>