Skip to content

Don't log poolname#322

Open
piotrp wants to merge 2 commits into
ledgetech:masterfrom
piotrp:remove-debug-statement
Open

Don't log poolname#322
piotrp wants to merge 2 commits into
ledgetech:masterfrom
piotrp:remove-debug-statement

Conversation

@piotrp

@piotrp piotrp commented Sep 9, 2024

Copy link
Copy Markdown

Remove unconditional logging of poolname (added in #307). It's polluting logs, and OpenResty doesn't have fine-grained log filtering.

If you want to keep this - how about logging it when an undocumented _debug flag is set? It would be set to the value of the internal DEBUG variable from http.lua.

@piotrp

piotrp commented Jun 22, 2026

Copy link
Copy Markdown
Author

@sriemer can you take a look at this PR?

@sriemer

sriemer commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@piotrp Please rebase on top of latest master. Please keep local ngx_DEBUG = ngx.DEBUG. It should remain available. Would be good to keep the debug message with a client:connect option pool_debug. That pool_debug should default to false. TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants