Skip to content

Commit

Permalink
Add documentation for debug logs environment variables. (#2186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh929216 committed Nov 3, 2024
1 parent 1130df7 commit 237316b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/userguide/connections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ resources:
with Connection() as connection:
# work with connection
.. _debug-logs:

Debug Logs
==========

Kombu exposes multiple environment variables that control debug logging for connection and channel logs.
This is useful for situations where you want to debug Kombu or contribute to the project.

If ``KOMBU_LOG_CONNECTION`` is set to 1, debug logs are enabled for connections.

If ``KOMBU_LOG_CHANNEL`` is set to 1, debug logs are enabled for channels.

If ``KOMBU_LOG_DEBUG`` is set to 1, debug logs are enabled for both connections and channels.

.. _connection-urls:

Celery with SQS
Expand Down

0 comments on commit 237316b

Please sign in to comment.