Python Write Better Python Buggy Logs Log Messages

Kevin Montero
Kevin Montero
Python Web Development Techdegree Student 4,735 Points

Log a message with a level of DEBUG. The message can say anything you want.

What's wrong with my code?
import logging

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

# Write your code below here
logging.debug("Whats up")

1 Answer