Skip to content

Commit 7249106

Browse files
authored
Suprress console stdout output from adding file permissions in local storage (#41727)
1 parent e1315c7 commit 7249106

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sdk/monitor/azure-monitor-opentelemetry-exporter/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
### Bugs Fixed
1010

11+
- Suppress stdout side effect of add permissions to file for local storage on Windows
12+
([#41727](https://github.com/Azure/azure-sdk-for-python/pull/41727))
13+
1114
### Other Changes
1215

1316
## 1.0.0b38 (2025-06-17)

sdk/monitor/azure-monitor-opentelemetry-exporter/azure/monitor/opentelemetry/exporter/_storage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ def _check_and_set_folder_permissions(self):
226226
"/inheritance:r",
227227
],
228228
check=False,
229+
stdout=subprocess.DEVNULL,
230+
stderr=subprocess.DEVNULL,
229231
)
230232
if result.returncode == 0:
231233
return True

0 commit comments

Comments
 (0)