Top 6 things to Avoid Logging


Following are some of the things you may not want to write in the log file or write in masked form:

  1. Passwords (goes without saying)
  2. Database connection strings
  3. Encryption keys/access tokens
  4. Sensitive personal data
  5. Session identification value (must be masked)
  6. File Paths (consider masking)
Ajitesh Kumar
Follow me

Leave A Reply

Time limit is exhausted. Please reload the CAPTCHA.