def config(version=""):

    format = {'version':version} % '=== %%(levelname)s ===   %%(asctime)s, spiderosm %(version)s, %%(module)s:\n  %%(message)s'

    logging.basicConfig(
        level=logging.INFO,
        format=format,
        datefmt='%Y-%m-%d %H:%M:%S'
        )
dataset/ETHPy150Open mharnold/spiderosm/spiderosm/log.py/config/swapped operands of `%`