password in console logs

Hi,
we need to log port activity for review by security - but if logging direction is set to “both” passwords are visible in the log.
Does anybody know of a way/trick to hide them?

Thanks!

Which product are you referring to?

If this is our Digi CM or Passport? Then no, when set to ‘both’, it will echo exactly what it sees coming in. It has no way to parse out the password.

You would need to change from ‘both’ to ‘output’ in order not to see the password.

The question was about Digi CM.
Thanks to all who responded!