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

Rob Crittenden rcritten at redhat.com
Wed Aug 24 11:35:37 UTC 2011


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




More information about the Freeipa-devel mailing list