in reply to Re^2: Find Credit Card Numbers and Mask only 6 digits in a logfile
in thread Find Credit Card Numbers and Mask only 6 digits in a logfile

This is terrible practice, and depending where you are a PCI compliance failure.

  • Comment on Re^3: Find Credit Card Numbers and Mask only 6 digits in a logfile

Replies are listed 'Best First'.
Re^4: Find Credit Card Numbers and Mask only 6 digits in a logfile
by gtk (Acolyte) on Apr 30, 2018 at 13:16 UTC

    Please note that this is only for the testing environments for debugging purpose. In Production, numbers are fully masked.