Welcome to the Treehouse Community
Looking to learn something new?
Leen LeenaertsCourses Plus Student 2,367 Points
what's wrong here?
import logging logging.basicConfig(filename='cc.log', level=logging.DEBUG) logging.info("erfezffeg")
Carlos Federico Puebla Larregle21,073 Points
The text that you're logging should have the "debug" level, like this:
Then it asks you to log the message: "The French have the Grail" with a logging level of "warning" like this:
logging.warning("The French have the Grail")
I hope that helps you a little bit.
logging.warn("The French have the Grail")
that's the correct answer