2009/4/14 Daniel <daniel.chaow...@gmail.com>: > 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 - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor