|
|
@ -3,6 +3,7 @@ import gevent.monkey
|
|
|
|
gevent.monkey.patch_all()
|
|
|
|
gevent.monkey.patch_all()
|
|
|
|
|
|
|
|
|
|
|
|
import logging
|
|
|
|
import logging
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
import argh
|
|
|
|
import argh
|
|
|
|
|
|
|
|
|
|
|
@ -11,4 +12,6 @@ from backfiller.main import main
|
|
|
|
LOG_FORMAT = "[%(asctime)s] %(levelname)8s %(name)s(%(module)s:%(lineno)d): %(message)s"
|
|
|
|
LOG_FORMAT = "[%(asctime)s] %(levelname)8s %(name)s(%(module)s:%(lineno)d): %(message)s"
|
|
|
|
|
|
|
|
|
|
|
|
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
|
|
|
|
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
|
|
|
|
|
|
|
|
level = os.environ.get('WUBLOADER_LOG_LEVEL', 'INFO').upper()
|
|
|
|
|
|
|
|
logging.basicConfig(level=level, format=LOG_FORMAT)
|
|
|
|
argh.dispatch_command(main)
|
|
|
|
argh.dispatch_command(main)
|
|
|
|