Solutions
How to Mask Sensitive Data (Card Numbers) in Logs with Log4j2
Need to log payment objects without exposing card numbers? Write a custom Log4j2 pattern converter that masks them automatically, and learn the safer habits that should go with it.