Forum Moderators: phranque
import logging
LOG = logging.getLogger(__name__)
msg = "This is level info"
LOG.info(msg) emerg
alert
crit
error
warn
notice
info
debug
Try a simple test, please. Add another three-line block, duplicating the one you've got. But this time replace the word "info" with something else such as "warn" or "notice".