print debug messages for galaxy.tools.actions#1165
Merged
mvdbeek merged 3 commits intogalaxyproject:masterfrom Jun 1, 2021
Merged
print debug messages for galaxy.tools.actions#1165mvdbeek merged 3 commits intogalaxyproject:masterfrom
mvdbeek merged 3 commits intogalaxyproject:masterfrom
Conversation
in order to see output filter errors also set level to WARN for urllib3 to ignore messages like ``` 2021-04-29 12:00:19,558 DEBUG [urllib3.connectionpool] http://127.0.0.1:9925 "GET /api/jobs/54f2a3a23292eb07 HTTP/1.1" 200 None 2021-04-29 12:00:19,821 DEBUG [urllib3.connectionpool] Starting new HTTP connection (1): 127.0.0.1:9925 ``` which are flooding the logs
7 tasks
Member
This is uvicorn's access logging ... I looked into how we can turn this off, but I didn't see something that would work at first glance. |
Collaborator
Author
|
Wondering why the urllib messages were still shown (galaxyproject/galaxy#11266)? |
Collaborator
Author
I think I found a way: galaxyproject/galaxy@e9b08f3 If we like we can also have more control over the uvicorns logging config https://github.com/encode/uvicorn/blob/bf1c64e2c141971c546671c7dc91b8ccf0afeb7d/uvicorn/config.py#L131 ... e.g. the formater. |
Member
|
Nice! Thanks a lot @bernt-matthias! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
in order to see output filter errors
also set level to WARN for urllib3 to ignore messages like
which are flooding the logs
I still see
but have no idea where this is coming from. Is there a way to address logging for all modules but a certain set (i.e. set warn for all modules but galaxy and planemo)?