Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-93162: Add ability to configure QueueHandler/QueueListener together and provide getHandlerByName() and getHandlerNames() APIs.#93269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
3686d742bca114ef2d96ddebf51616778fe42d43b99936dffa29ded8File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -698,15 +698,17 @@ If the ``queue`` key is present, the corresponding value can be one of the follo | ||
| the :class:`queue.Queue` instance to use. That callable could be a | ||
| :class:`queue.Queue` subclass or a function which returns a suitable queue instance. | ||
| If the ``queue`` key is absent, a standard unbounded :class:`queue.Queue` instance is | ||
| created and used. | ||
| If the ``listener`` key is present, the corresponding value can be one of the following: | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. You say "one of the following" and then there is only one listed? | ||
| * A subclass of :class:`logging.handlers.QueueListener`. This is of course only | ||
| possible if you are constructing or modifying the configuration dictionary in | ||
| code. | ||
| If the ``listener`` key is absent, :class:`logging.handlers.QueueListener` is used. | ||
| The values under the ``handlers`` key are the names of other handlers in the | ||
| configuration (not shown in the above snippet) which will be passed to the queue | ||
| listener. | ||