[Freeipa-devel] [PATCH] 0061 Improve ipa-client-install debug output
Rob Crittenden
rcritten at redhat.com
Tue Jun 12 21:14:05 UTC 2012
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.
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.
rob
More information about the Freeipa-devel
mailing list