Open cleptric opened 1 month ago
We should align the log level for HTTP client requests and make sure we set appropriate levels based on the response status code.
5xx should be error 4xx should be warning
error
warning
@lforst @cleptric
## SDKs - [ ] JavaScript SDK https://github.com/getsentry/sentry-javascript/issues/13359 - [ ] Laravel SDK https://github.com/getsentry/sentry-laravel/pull/940 - [ ] PHP SDK https://github.com/getsentry/sentry-php/pull/1773 - [ ] Electron SDK - [ ] Python SDK - [ ] Symfony SDK - [ ] Go SDK - [ ] Ruby SDK - [ ] Elixir SDK - [ ] Rust SDK - [ ] Java SDK - [ ] .NET SDK - [ ] Unity SDK - [ ] Unreal SDK - [ ] PowerShell SDK - [ ] Android SDK - [ ] Apple/Cocoa SDK - [ ] Capacitor SDK - [ ] Cordova SDK - [ ] Dart SDK - [ ] Flutter SDK - [ ] Kotlin Multiplatform SDK - [ ] React Native SDK - [ ] Native SDK - [ ] Sentry CLI
@cleptric would it make sense to put 4xx as error too? Is there a deeper thought putting it as warn?
Description
We should align the log level for HTTP client requests and make sure we set appropriate levels based on the response status code.
5xx should be
error
4xx should bewarning
Stakeholder(s)
@lforst @cleptric
SDKs