Hi,
Check for duplicated entries in the WMSERVICE table of the IS database.
Also, pub.prt.log:logActivityMessages
is a log utility service which you should only use if you are using an IS with the WmPRT package (that is, you have a license to use the BPM processing engine and/or the WmTN Trading Networks package).
It enables you to write more detailed logs which are stored on another table. But you easily achieve the same thing with a wrapper around pub.flow:debugLog
(just format the message to your needs).
As for auditing system/platform services, that would mean you had to change those services audit properties which is a bad practice (it is a known platform limitation where auditing is a development setting and not a pure configuration setting).
Best practice: write your own wrappers for those services, even if they are just passing values: isolates you from problems from future API changes (check the pub.flow:setResponse
history), enables all kinds of logging and auditing possibilities, enables more security possibilities. Be sensible on your choice of wrapped services - don’t wrap everything, only the most important (pub.publish:publish, pub.client:http, etc).
Good Luck.