Python Write Better Python Buggy Logs Log Messages

Mat Clark
seal-mask
.a{fill-rule:evenodd;}techdegree
Mat Clark
Python Development Techdegree Student 3,452 Points

Message log?

I watched the video twice and I don't see where he logs a message. Kind of seems like a lot of info was skipped when moving into this module. I haven't been totally stumped yet but I have no idea what this is asking me to do.

starter.py
import logging

logging.basicConfig(filename='cc.log', level=logging.DEBUG)

# Write your code below here

1 Answer

Rick Gleitz
Rick Gleitz
41,835 Points

Hi Mat,

Kenneth does a message log at about the 5:00 minute mark in the previous video. He does it with a level of .info, but just substitute .debug and add any string you want in the parentheses.

Hope this helps!