如何关闭 celery 中的突出显示?

发布于 2024-12-18 22:50:33 字数 151 浏览 5 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

§对你不离不弃 2024-12-25 22:50:33

您可以使用 CELERYD_LOG_COLOR 配置或禁用颜色 http://celery.readthedocs.org/en/latest/configuration.html#celeryd-log-color

You can configure or disable the color with CELERYD_LOG_COLOR http://celery.readthedocs.org/en/latest/configuration.html#celeryd-log-color

逆光下的微笑 2024-12-25 22:50:33

我想你可以通过 cat 管道它:

python manage.py celeryd -l info |cat

i guess you could pipe it through cat:

python manage.py celeryd -l info |cat
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文