Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Sahar Nasiri7,454 Points
What is different
logging.basicConfig(...., level = DEBUG) logging.debug() The file is saving on debug level why do we need to save a debug message?
Afrid Mondal6,255 Points
Hey Sahar, the logging functions are named after the level or severity of the events they are used to track. They are debug,info,warning..... So, among that DEBUG is used to find out the detailed information, typically of interest only when diagnosing problems.