[wpkg-users] Chatty registry checks

Malte Starostik malte at malte.homeip.net
Fri Aug 28 09:20:36 CEST 2009


Hi,

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?

Thanks,
Malte



More information about the wpkg-users mailing list