Пример #1
0
def main():
    HenriqueLogger.attach_stderr2loggers()
    logger = HenriqueLogger.func_level2logger(main, logging.DEBUG)

    j_list = list(Port2MongoDB.postgres2j_iter())
    logger.debug({"# j_list": len(j_list)})

    Port2MongoDB.j_iter2mongodb(j_list)
Пример #2
0
 def setUpClass(cls):
     HenriqueLogger.attach_stderr2loggers()