记录器“paramiko.transport”没有找到处理程序。 [英] No handlers could be found for logger "paramiko.transport"

查看:267
本文介绍了记录器“paramiko.transport”没有找到处理程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在烧瓶内部执行一些织物任务。烧瓶运行在apache的wsgi里面。偶尔我在apache日志中出现这个错误:

没有处理程序可以找到记录器paramiko.transport

然后,我必须重新启动apache,以便通过烧瓶调用的结构任务再次运行。



这里有任何想法...我正在运行Ubuntu 12.04

  Fabric == 1.5.3 

paramiko == 1.9.0

pycrypto == 2.6

烧瓶== 0.9


解决方案

好像答案是将disconnect_all()添加到我的所有结构函数。现在这个问题似乎已经消失了。

I am running some fabric tasks inside of flask. Flask is running inside of wsgi in apache. Once in a while I get this error in the apache logs:

No handlers could be found for logger "paramiko.transport"

I then have to restart apache for the fabric tasks that are called via flask to work again.

Any ideas here... I'm running Ubuntu 12.04

Fabric==1.5.3

paramiko==1.9.0

pycrypto==2.6

Flask==0.9

解决方案

Seems like the answer was to add disconnect_all() to all of my fabric functions. Now the problem seems to have gone away.

这篇关于记录器“paramiko.transport”没有找到处理程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆