2009/4/14 Daniel <[email protected]>:
> def get_logger(log_filename):
>     my_logger = logging.getLogger("MyLogger")
>     my_logger.setLevel(logging.debug)
                                               ^^^^^^^
You have a small typo. This should be in capitals, logging.DEBUG.

Greets
Sander
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to