title: Masking Password, Credit card information in log file
body: <p>I need several field in the logfile to be masked.
  Like the creditcard info or password.
  Do we have any direct way to do it ?
  Or any code piece we have to write in for log fields to mask those Credit card info so that those will be appreaed mask in log file.
  Example:
  CreditcardNo:411111111111 should apprear in log file as *********1111
  password    Password123 should apprear in log as ***********</p>
  
  <p>I am using log4j to write the information to the log.</p>