Why Logs Matter
Goals
- Generate log files.
- Write code to access log files.
- Explain the purpose of the logging library.
- Explain the purpose of debugging.
- Identify security issues in system and application log files.
- Evaluate software security using system and application log files.
Logging
Essential Reading
- pages 834–845 (“Preventing and Responding to Incidents”) in (ISC)2 CISSP Certified Information Systems Security Professional Official Study Guide
- “logging - Logging Facility for Python” from the Python Software Foundation
Lab
Practice what you have learned in the following labs:
Debugging
Essential Reading
- “Debugging” in Full Stack Python
- “Debugging and Profiling” from the Python Software Foundation
Security Issues
Essential Reading
- “Hacking and Securing Python Applications” from Qwiet AI by Harness
- “Static Code Analysis: Developer’s Guide” in SonarSource Static Code Analysis
- “Static Code Analysis” from The OWASP Foundation
- “Security Considerations” from the Python Software Foundation