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

Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. For latest updates and blogs, follow us on Twitter. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking. Check out my other blog,
Posted in Application Security. Tagged with .

Leave a Reply

Your email address will not be published. Required fields are marked *