module.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:mod-elastic-logs 作者: descrepes 项目源码 文件源码
def create_index(self,index):
        try:
            logger.debug("[elastic-logs] Creating index %s ...", index)
            self.es.indices.create(index)
        except ElasticsearchException, exp:
            logger.error("[elastic-logs] exception while creating index %s: %s", index, str(exp))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号