<filename>ap_server/__init__.py
import logging

FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
logging.basicConfig(format=FORMAT)
logger = logging.getLogger('ap_server')
logger.setLevel(logging.DEBUG)

<filename>ap_server/__init__.py
import logging

FORMAT = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
logging.basicConfig(format=FORMAT)
logger = logging.getLogger('ap_server')
logger.setLevel(logging.DEBUG)
