Python logging 2

My python logging has improved much recently (see previous post) - however I think there are more improvements still

Try this

For a better/clearer log try this.....

import logging
# create logger with 'spam_application'
#logging.basicConfig(level=logging.INFO)
logging.basicConfig(format="%(asctime)s - File: %(filename)s - Line: %(lineno)d - %(message)s",level=logging.INFO)
logger = logging.getLogger(__name__)