简体   繁体   English

使用django-celery在日志中显示Heroku警告

[英]Heroku warnings in logs using django-celery

I am trying to deploy my first app with heroku, and I keep running into issues. 我正在尝试用heroku部署我的第一个应用程序,但是我一直遇到问题。 Essentially, now whenever I try to open my app with heroku open, I get the "Application Error" page telling me to check my logs. 从本质上讲,现在无论何时我尝试在打开Heroku的情况下打开我的应用程序时,都会出现“ Application Error”页面,告诉我检查我的日志。 I successfully was able to get through the tutorial, but now following the same steps with my own project, I haven't had any luck. 我成功地完成了本教程,但是现在按照自己的项目执行相同的步骤,我再也没有运气了。 As far as I can tell from the logs, the relevant warnings I am getting are: 据日志显示,我得到的相关警告是:

WARNING/MainProcess] celery@ce7e5946-3bc3-4622-856f-863b49f442d4 ready
WARNING/Beat] Reset: Account for new version field
WARNING/Beat] Reset: Account for utc_enabled field
WARNING/Beat] Reset: Account for new tz field

The last three all seem to stem from the PersistentScheluler class within celery/beat.py, but I don't understand why. 最后三个似乎都源自celery / beat.py中的PersistentScheluler类,但是我不明白为什么。 I have no idea about the first warning (or why that is even a warning). 我不知道第一个警告(或者为什么这甚至是警告)。 Any insight? 有见识吗? Thanks in advance for the help. 先谢谢您的帮助。

have you tried to set DEBUG to True in Django settings ? 您是否尝试在Django设置中将DEBUG设置为True?

that should give you enough information about the error to fix it. 应该会为您提供有关该错误的足够信息以进行修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM