[wpkg-users] Chatty registry checks

Rainer Meier r.meier at wpkg.org
Fri Aug 28 10:43:25 CEST 2009


Hi Malte,

Malte Starostik wrote:
> checks with type="registry" condition="equals" produce an INFO log message if 
> the actual value doesn't match the reference value.  This is fine for simple 
> checks but if it's inside a logical compound and the overall result will be 
> true, it will just pollute the logs on every run, e.g. when the check is 
> simply negated with a logical not.
> Is there any objection to changing the info("The registry path '" + checkPath 
> + "' did not contain the value: '" ...) call on line 766 to a dinfo(...) 
> instead?  It seems to be the only info() call in checkCondition(), maybe just  
> a typo?

I agree, such verbose output is not helpful to read within the event log. It's
useful only in the logs for the system administrator. I will change it to dinfo().

Thanks for reporting.

br,
Rainer



More information about the wpkg-users mailing list