def __init__(self):

        log.init_log(settings.get('LOG_DIR'))  #
        logging.info("spider start......")
        print "spider start......"
        logging.info("fafafa")
Example #2
0
 def __init__(self):
     log.init_log(settings.get('LOG_DIR'))