[PATCHES] Logging to multiple debug backends

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Mar 18 09:00:43 MDT 2015

On Wed, Mar 18, 2015 at 07:56:22AM -0700, Christof Schmitt wrote:
> > How would the different debug classes look like?
> I am not quite sure what you are referring to. The idea is to keep the
> backends independent of debug classes. The backend 'logging' parameter
> basically replaces 'syslog' and 'syslog only' while allowing different
> configurations, and the backend code just looks at the log level of each
> message, not the debug class.
> In case you are referring about debug classes that ctdb could use, once
> ctdb makes more use of the debug code: The first idea would be
> introducing a debug class like DBGC_CTDB, but that has to be discussed
> in more detail once we come closer to working on that.

Ok, understood. The new parameter will not replace the "log level". I
was a bit confused, sorry.


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