Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging pretty broken: debug Logger only ever logs Request was queued (waiting for a connection to become available) #796

Open
weissi opened this issue Dec 18, 2024 · 1 comment

Comments

@weissi
Copy link
Contributor

weissi commented Dec 18, 2024

I'm firing off some requests and I'm passing execute(..., logger: logger) with logger being configured to debug. Unfortunately, the only logs I can see are

2024-12-18T15:36:24+0000 debug mm : ahc-request-id=9 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=1 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=2 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=8 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=4 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=10 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=16 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=5 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)
2024-12-18T15:36:24+0000 debug mm : ahc-request-id=3 [AsyncHTTPClient] Request was queued (waiting for a connection to become available)

nothing ever gets logged until we're done. Pretty sure that AHC is losing the Logger somewhere.

@weissi
Copy link
Contributor Author

weissi commented Dec 18, 2024

version 1.24.0

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

No branches or pull requests

1 participant