Thursday, September 12, 2013

Django+celery: how to show worker logs on the web server

Django+celery: how to show worker logs on the web server

I'm using Django+celery for my 1st ever web development project, and
rabbitmq as the broker. My celery workers are running on a different
system from the web server and are executing long-running tasks. During
the task execution, the task output will be dumped to local log files on
the workers. I'd like to display these task log files through the web
server so the user can know in real-time where the execution is, but I've
no idea how I should transfer these log files between the workers and the
system where the web server is. Any suggestion is appreciated.

No comments:

Post a Comment