-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: replace use llama_stack logger #3060
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
Conversation
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.
some comments on the category names here and a few other things
98db31f
to
d447738
Compare
@@ -51,7 +51,7 @@ | |||
from .openai_responses import OpenAIResponsesImpl | |||
from .persistence import AgentInfo | |||
|
|||
logger = logging.getLogger() | |||
logger = get_logger(name=__name__, category="llama") |
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.
Why is this not agents
category (like in the diff below) ? Where is this llama
coming from ?
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.
+1, should be agents
👍🏽
fixing all this in a separate PR now :)
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.
I have removed the changes which only renames the categories to #3065
the changes which replaces
logger = logging.getLogger(__name__)
with
logger = get_logger(name=__name__, category="")
Still in this PR
ptal 👍🏽
d447738
to
c5793f6
Compare
Signed-off-by: Mustafa Elbehery <[email protected]>
c5793f6
to
b5f98c0
Compare
This change has been added in 348cf69 Closing |
What does this PR do?
This PR replaces default logger usage with custom
llama_stack
logger.This PR aligns logging categories as per the
package
name, as well as reviews from initial PRReplaces #2868
Part of #2865
cc @leseb @ashwinb @rhuss