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

Python Write Better Python Buggy Logs Log Messages

Tried to implement the suggestions from other Treehouse questions.. but wasn't able to complete this task

Please help me to understand my mistakes or share some passing code with me. Thanks

import logging

logging.basicConfig(filename='cc.log', level=logging.DEBUG)
logging.debug('This message should go to the log file')

1 Answer

Jason Anders
Jason Anders
Treehouse Moderator 145,855 Points

Hi there,

Your code does look to be correct. Unfortunately, there seems to be some technical glitches in the challenges right now that is preventing the code checker from properly checking and passing your code.
The wonderful people over with the Support Team is aware and are looking into the issue. If you like, you can continue on with the course by navigating using the little bubbles on top of the video screen to jump to the next step after the challenge.

Once the issue has been resolved, you can come back to the challenge and complete it.

Sorry for the problems. :(

But nice work! :) :dizzy: