Python Write Better Python Buggy Logs Log Messages

Kevin Montero
Kevin Montero
5,190 Points

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

What's wrong with my code?

starter.py
import logging

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

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

1 Answer