Development Team/Almanac/Python Standard Logging: Difference between revisions
m moved Development Team/Almanac/Python Standard Logging to Walter is a wanker 12/Almanac/Python Standard Logging: Walter is a wanker |
_logger.setLevel(logging.DEBUG) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 12: | Line 12: | ||
import logging | import logging | ||
_logger = logging.getLogger('annotate-activity') | _logger = logging.getLogger('annotate-activity') | ||
_logger.setLevel(logging.DEBUG) | |||
... | ... | ||
_logger.debug('starting activity') | _logger.debug('starting activity') | ||
| Line 24: | Line 26: | ||
import logging.config | import logging.config | ||
_logger = logging.getLogger('activity-annotate') | _logger = logging.getLogger('activity-annotate') | ||
_logger.setLevel(logging.DEBUG) | |||
... | ... | ||
#### Method: __init__, initialize this AnnotateActivity instance | #### Method: __init__, initialize this AnnotateActivity instance | ||