如何关闭 celery 中的突出显示?
我正在使用 celery managment 命令在 django 应用程序中进行一些调试:
python manage.py celeryd -l info
输出以非常耀眼的颜色突出显示。有什么办法可以关闭突出显示吗?
I'm using the celery managment command to do some debugging in a django application:
python manage.py celeryd -l info
The output is highilighted in really glaring colors. Is there any way to turn the highlighting off?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用
CELERYD_LOG_COLOR
配置或禁用颜色 http://celery.readthedocs.org/en/latest/configuration.html#celeryd-log-colorYou can configure or disable the color with
CELERYD_LOG_COLOR
http://celery.readthedocs.org/en/latest/configuration.html#celeryd-log-color我想你可以通过
cat
管道它:i guess you could pipe it through
cat
: