-
Notifications
You must be signed in to change notification settings - Fork 38
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
OPENAI_LOG has no effect when okhttp level is also specified #73
Comments
I was wrong: just discovered this: okhttp3.level=WARNING in my logging configuration |
Interesting, thanks for the report! Does that configuration you pasted override our configuration? If so, then maybe I could look into logging a warning when they're both specified. Or at least including a note in the readme or something |
OK, what I see on console is this:
It means: ACTUALLY it is And, I configured in my logging.properties (config file for java.util.logging) this:
You can configure logging levels per package/class. It turns out: openai client write logs using the SAME class name. Well, I would suggest the following:
When you writing logs using "openai" package name: you do not need that proprietary OPENAI_LOG env. variable: |
--
The text was updated successfully, but these errors were encountered: