nssalian commented on code in PR #2868: URL: https://github.com/apache/iceberg-python/pull/2868#discussion_r2652204318
########## mkdocs/docs/contributing.md: ########## @@ -258,6 +258,27 @@ Which will warn: Deprecated in 0.1.0, will be removed in 0.2.0. The old_property is deprecated. Please use the something_else property instead. ``` +### Logging + +PyIceberg uses Python's standard logging module. You can control the logging level using either: + +**CLI option:** + +```bash +pyiceberg --log-level DEBUG describe my_table +``` + +**Environment variable:** + +```bash +export PYICEBERG_LOG_LEVEL=DEBUG +pyiceberg describe my_table +``` + +Valid log levels are: `DEBUG`, `INFO`, `WARNING` (default), `ERROR`, `CRITICAL`. Review Comment: nit: maybe a sample message here to show what they can expect in logging? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
