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

Petr Viktorin pviktori at redhat.com
Mon Jun 11 14:39:32 UTC 2012


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.


Similar logging changes should be done for the other admin tools in the 
future.


https://fedorahosted.org/freeipa/ticket/2553

-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0061-Improve-ipa-client-install-debug-output.patch
Type: text/x-patch
Size: 55590 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120611/69fccdaa/attachment.bin>


More information about the Freeipa-devel mailing list