Coffee With A Splash Of Cyber provides short cyber security-themed educational exercises that you can work through on one of your coffee breaks throughout the week. Open source code snippets, log files, other security or career scenarios will be presented every Monday morning. Take a look at the challenge and work through it on your own. On Friday, the solution is posted so you can check your work. Each exercise is intended to last between 5 and 15 minutes. Do it on one of your coffee breaks and you'll be on your way to developing your security skill set.
This week's challenge is a Python code review snippet as seen below. This code is a simple little logging routine, specifically some error handling aspect of logging. Remember that it's important to be cognizant of what information gets logged, where, and when.
Let's give those appsec skills a boost.