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

Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning and BI. I would love to connect with you on Linkedin. Check out my books titled as Designing Decisions, and First Principles Thinking.
Posted in Application Security. Tagged with .