openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Too verbose logs

Open louis030195 opened this issue 2 years ago • 1 comments

Hi, is there any way to reduce these logs?

message='OpenAI API response' path=https://api.openai.com/v1/fine-tunes processing_ms=228 request_id=FOO response_code=200
INFO:openai:message='OpenAI API response' path=https://api.openai.com/v1/fine-tunes processing_ms=228 request_id=BAR response_code=200

To me, these logs should be DEBUG.

louis030195 avatar Nov 27 '22 11:11 louis030195

Hey @louis030195!

Thanks for writing in. I think that makes sense. We can get this into our backlog. If you'd like to take a shot at it, I'd be happy to review a PR as well!

hallacy avatar Dec 02 '22 11:12 hallacy