Skip to content

Commit 358255d

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
docs: add info log level to readme (#1887)
1 parent 197c94b commit 358255d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -509,12 +509,14 @@ Note that requests that time out are [retried twice by default](#retries).
509509

510510
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
511511

512-
You can enable logging by setting the environment variable `OPENAI_LOG` to `debug`.
512+
You can enable logging by setting the environment variable `OPENAI_LOG` to `info`.
513513

514514
```shell
515-
$ export OPENAI_LOG=debug
515+
$ export OPENAI_LOG=info
516516
```
517517

518+
Or to `debug` for more verbose logging.
519+
518520
### How to tell whether `None` means `null` or missing
519521

520522
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`:

0 commit comments

Comments
 (0)