From 21bdd1286a33991f24e9bd660686798a962503d0 Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Fri, 22 Nov 2024 16:06:37 +0000 Subject: [PATCH] docs: add info log level to readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f026a768b..e37a3ce415 100644 --- a/README.md +++ b/README.md @@ -353,12 +353,14 @@ Note that requests that time out are [retried twice by default](#retries). We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module. -You can enable logging by setting the environment variable `OPENAI_LOG` to `debug`. +You can enable logging by setting the environment variable `OPENAI_LOG` to `info`. ```shell -$ export OPENAI_LOG=debug +$ export OPENAI_LOG=info ``` +Or to `debug` for more verbose logging. + ### How to tell whether `None` means `null` or missing In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`: