Skip to content

Commit a6d69c1

Browse files
committed
removing old diagnostics
1 parent 48d428e commit a6d69c1

File tree

4 files changed

+4
-139
lines changed

4 files changed

+4
-139
lines changed

sdk/cosmos/azure-cosmos/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* Fixed bug with async patch_item method. See [PR 30804](https://github.com/Azure/azure-sdk-for-python/pull/30804).
1212

1313
#### Other Changes
14+
* Removed outdated `diagnostics.py` file since we now recommend the use of our `CosmosHttpLoggingPolicy` for diagnostics.
15+
For more on the `CosmosHttpLoggingPolicy` see our [README](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/cosmos/azure-cosmos#logging-diagnostics).
1416

1517
### 4.4.0 (2023-06-09)
1618

sdk/cosmos/azure-cosmos/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,10 +606,10 @@ HTTP status code 409: The ID (name) provided for the container is already in use
606606
The container name must be unique within the database.""")
607607

608608
```
609-
### Logging
609+
### Logging Diagnostics
610610

611611
This library uses the standard
612-
[logging](https://docs.python.org/3.5/library/logging.html) library for logging.
612+
[logging](https://docs.python.org/3.5/library/logging.html) library for logging diagnostics.
613613
Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO
614614
level.
615615

sdk/cosmos/azure-cosmos/azure/cosmos/diagnostics.py

Lines changed: 0 additions & 86 deletions
This file was deleted.

sdk/cosmos/azure-cosmos/test/test_diagnostics.py

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)