8 from EventIndexProducer.sendEI_SPB_Lib
import eimrun
9 from EventIndexProducer.sendEI_SPB_Lib
import options
as eioptions
15 logger = logging.getLogger(
'sendEI_SPB.py')
20 opt = eioptions(sys.argv[1:])
23 logger.setLevel(logging.INFO)
26 logger.setLevel(logging.DEBUG)
31 if __name__ ==
'__main__':
34 root = logging.getLogger()
35 ch = logging.StreamHandler(sys.stdout)
36 ch.setLevel(logging.DEBUG)
39 formatter = logging.Formatter(
'%(name)-15s %(levelname)9s %(message)s')
40 ch.setFormatter(formatter)