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.
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
feat(BA-593): Configure the logging module's config file to use Pydantic #2834
base: main
Are you sure you want to change the base?
feat(BA-593): Configure the logging module's config file to use Pydantic #2834
Changes from all commits
0ee7d29
2ea4277
81134b3
e75afdc
cd3835d
abb9b83
187688c
6da8cde
6a22b0e
9ef8142
5aaea9c
606bf2a
74fefa5
6f62fda
c818121
93a02c8
a4f7c02
8baf953
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing I’m wondering is why the
HostPortPair
class is inside thelogging
package.It seems like it should be in a different package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We support several logging tools and may support more in the future.
(ex, graylog, logstash)
Since these logging tools require the host address by default, we've just separated that part into a common setting.
ref.
backend.ai/src/ai/backend/logging/config.py
Line 66 in a86c2fb