exec sidekiq登录heroku [英] exec sidekiq log on heroku
本文介绍了exec sidekiq登录heroku的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的heroku环境中执行sidekiq日志文件,但是我在文档中找不到任何内容,谷歌也没有帮助我.我确定它必须像exec sidekiq -L log/sidekiq.log
一样,但是该命令在heroku上失败.
如何在heroku环境中访问我的sidekiq日志文件?
I want to exec the sidekiq log file on my heroku environment but I cannot find anything in the documentation nor google helps me here. I am sure it has to be sth like exec sidekiq -L log/sidekiq.log
but that command fails on heroku.
How can I access my sidekiq log file on a heroku environment?
推荐答案
我在heroku上抓了工人记录器
I grabbed the worker logger on heroku
heroku logs -t -a eventbaxx-production | grep worker.1
所以我可以看到sidekiq活动.
so I could see sidekiq activity.
这篇关于exec sidekiq登录heroku的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文