Added some diagnostics logging to wpp.targets