import logging
import sys

logger = logging.getLogger('finstmt')
logger.setLevel(logging.INFO)
formatter = logging.Formatter('%(levelname)s: %(message)s')

ch = logging.StreamHandler(stream=sys.stdout)
ch.setLevel(logging.INFO)
ch.setFormatter(formatter)
logger.addHandler(ch)