[Freeipa-devel] [PATCH] 848 suppress debug logging in ipactl

Martin Kosek mkosek at redhat.com
Wed Aug 24 11:56:09 UTC 2011


On Wed, 2011-08-24 at 07:35 -0400, Rob Crittenden wrote:
> Martin Kosek wrote:
> > On Fri, 2011-08-19 at 17:12 -0400, Rob Crittenden wrote:
> >> If debugging was set 389-ds then when ipactl was used to start the
> >> services a ton of output could be produced. This patch will suppress it
> >> by default. If the user wants this output they can add the --debug flag.
> >>
> >> rob
> >
> > Works fine, but I still have some comments. IIUC default log level for
> > DS is 16384 (critical messages), the disturbing debug output from DS
> > plug-ins is printed when log level>= 65536.
> >
> > Would it be wise to capture DS output when log level>= 65536 only so
> > that user doesn't loose potential error messages when his error log
> > setting is lower?
> >
> > Martin
> >
> 
> The default log level is 0. The worst levels are 1, 2 and 4 but I didn't 
> want to wire in too much intimate knowledge of 389-ds. If the user wants 
> to see these messages they can either run with --debug or the output 
> also goes to the 389-ds log.
> 
> rob

OK. ACK & Pushed to master, ipa-2-1.

Martin




More information about the Freeipa-devel mailing list