---
title: "Discussion on \"How to add context to Celery WorkerLostError logs\" | Hashnode"
description: "Discussion on \"How to add context to Celery WorkerLostError logs\". For a while now, we've had semi-frequent WorkerLostErrors on one of our Celery queues. These can happen for a few reasons, but one of the most common causes is a Celery task using too much memory and being killed by a parent process. If you're loggin..."
url: "https://hashnode.com/posts/how-to-add-context-to-celery-workerlosterror-logs/621138d7e2db563535e360f7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to add context to Celery WorkerLostError logs](https://til.justinthurman.dev/how-to-add-context-to-celery-workerlosterror-logs?utm_source=hashnode&utm_medium=feed)

For a while now, we've had semi-frequent WorkerLostErrors on one of our Celery queues. These can happen for a few reasons, but one of the most common causes is a Celery task using too much memory and being killed by a parent process. If you're loggin...

Feb 19, 2022 · 2 min read · til.justinthurman.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#celery](https://hashnode.com/tag/celery)
-   [#django](https://hashnode.com/tag/django)
-   [#logging](https://hashnode.com/tag/logging)

## Written by

[Justin Thurman](https://hashnode.com/@justinthurman)

@justinthurman

  
[View profile](https://hashnode.com/@justinthurman)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
