[Freeipa-devel] [PATCH] 0061, 63 Improve ipa-client-install debug output

Petr Viktorin pviktori at redhat.com
Thu Jun 14 12:36:47 UTC 2012


On 06/12/2012 11:14 PM, Rob Crittenden wrote:
> Petr Viktorin wrote:
>> I went through all the output/debug messages in ipa-client-install,
>> removed duplicates, and routed them through the log manager.
>>
>> I used these log levels:
>> DEBUG - detailed messages the user probably doesn't want to see (only
>> printed to console with --debug)
>> INFO - progress reports ("Configured /etc/sssd/sssd.conf") and
>> instructions ("You may need to restart services or reboot the machine.")
>> WARNING - something unusual that may require attention
>> ERROR - something went wrong
>>
>> Obviously there's some overlap there.
>>
>>
>> On the console, the messages are now prefixed with the log level. This
>> should bring attention to the warnings/errors.
>> Does this format look okay?
>> I think the current default console_format, which prefixes the logger
>> name (ipa) and the level, is too verbose.
>
> I agree. I'm not a fan of printing the log level, it is very distracting.

I've removed the log level.

> This is a good start but the DNS discovery area needs more work. I've
> found it very difficult to look at a log and figure out where the domain
> and hostname came from (user provided or discovered?) and trace how the
> discovery is working. There is currently a lot of smoke and noise and
> very little useful information.
>

I've added the sources of the values to the summary, and provided more 
tracing information.
I put this in a separate patch; it's not the almost mechanical changes 
as in the first one. I'll be happy to squash them if that would make 
review easier.

> rob


-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0061-02-Improve-ipa-client-install-debug-output.patch
Type: text/x-patch
Size: 55575 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120614/ad69e7ce/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0063-Improve-autodiscovery-logging.patch
Type: text/x-patch
Size: 22123 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120614/ad69e7ce/attachment-0001.bin>


More information about the Freeipa-devel mailing list