In this module we'll create a function to configure logging. The function creates and configures a rotating file handler. This function will then be used to configure an access log. Then using an after request decorator we'll write all requests to this access log.
In this module we'll handle 404 and 500 errors. When these errors happen the user will be redirected to the appropriate template. The 500 errors will also be logged to an error log.
In this module we'll create a signal that writes unauthorized login attempts to a log file.
Python & Flask are great for building a web applications. In this project you’ll utilize logging, signals and error handlers to make an existing content management system more resilient.
Thomas Bell is an Author at Pluralsight. Previous to Pluralsight he taught several courses covering User Experience Design, User Interface Design, and Web Development and Design at Weber State University. He received a Master of Science Degree in Instructional Technology and Learning Sciences from Utah State University and a Masters of Science Degree in Human Computer Interaction from Iowa State University.