lp:~doanac/lava-celery/logging-madness

Created by Andy Doan and last modified
Get this branch:
bzr branch lp:~doanac/lava-celery/logging-madness
Only Andy Doan can upload to this branch. If you are Andy Doan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andy Doan
Project:
LAVA Celery (deprecated)
Status:
Development

Recent revisions

19. By Andy Doan

fix oddness with logging in tasks

The run_remote command wasn't handling all exceptions which under
certain circumstances made celeryd handle the exception. This is
somewhat okay, but the error gets logged in the worker. When you
think about the scenario where we run the dispatcher on a remote
system, the caller (scheduler in this case) will need to see these
types of errors.

The other issue I hit was that when exceptions come from the
CloudifierDispatcher code, the stdout/stderr references get all
munged up in celery's twisted maze of redirecting its stdout to
its loggers. The only simple way out I found was with the hack:

 sys.stderr.logger.root.handlers[0].stream = logging.sys.__stderr__

This also adds a bit of debbuging to indicate when a command is
received, what arguments were passed, and when it finished

18. By Andy Doan

remove django-celery and add "lava celeryd" support

17. By Zygmunt Krynicki

Open 0.3 for development

16. By Zygmunt Krynicki

Bump version to 0.2

15. By Zygmunt Krynicki

Merge lava-tool support for celery

14. By Zygmunt Krynicki

Fix setup.py to include all packages, bump version to 0.1.1

13. By Zygmunt Krynicki

Bump version to 0.1

12. By Zygmunt Krynicki

Fix template name

11. By Zygmunt Krynicki

Bump version to beta 1

10. By Zygmunt Krynicki

Convert to namespace package

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:lava-celery
This branch contains Public information 
Everyone can see this information.

Subscribers