[PATCHES] Logging to multiple debug backends

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Mar 17 03:31:41 MDT 2015


On Mon, Mar 16, 2015 at 01:54:26PM -0700, Christof Schmitt wrote:
> I started implementing a separate array, see the attached patch. So far
> it compiles, but it is untested. Does that fit your idea?

Ooops. Sorry, I did not mean this as a serious suggestion. I
really doubt we will ever see this in profiles, because most
of the filtering load is already done in the DEBUG macro. We
only end up here if we have something to print, and any
snprintf load or even write(2) calls will completely
overwhelm this. If at one point we have dozens of backends
compiled in, we will need to do something, but I think a
typical configuration will have at most 4 compiled in at
all.

I would rather have liked Martin to squash my arguments :-)

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list