Skip to content

Commit 07c6093

Browse files
MaryGaodeyaaeldeen
andauthored
Update log level to verbose when unrecognized status (Azure#25095)
fixes Azure#25077 --------- Co-authored-by: Deyaaeldeen Almahallawi <dealmaha@microsoft.com>
1 parent 1f0531f commit 07c6093

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

sdk/core/core-lro/CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22

33
## 2.5.2 (Unreleased)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
95
### Bugs Fixed
106

11-
### Other Changes
7+
- Change the logging level for unrecognized operation statuses from warning to verbose.
128

139
## 2.5.1 (2023-02-02)
1410

sdk/core/core-lro/src/http/operation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function transformStatus(inputs: { status: unknown; statusCode: number }): Opera
132132
case "cancelled":
133133
return "canceled";
134134
default: {
135-
logger.warning(`LRO: unrecognized operation status: ${status}`);
135+
logger.verbose(`LRO: unrecognized operation status: ${status}`);
136136
return status as OperationStatus;
137137
}
138138
}

0 commit comments

Comments
 (0)