From 20b52df8305e4cfa7081635eeb2e17874e5e7290 Mon Sep 17 00:00:00 2001 From: Karl Heinz Struggl Date: Tue, 2 Sep 2025 11:10:07 +0200 Subject: [PATCH 1/3] adds note about missing logs for crashes on mobile --- docs/platforms/android/logs/index.mdx | 6 ++++++ docs/platforms/apple/common/logs/index.mdx | 6 ++++++ docs/platforms/dart/common/logs/index.mdx | 6 ++++++ docs/platforms/dart/guides/flutter/logs/index.mdx | 6 ++++++ docs/platforms/react-native/logs/index.mdx | 6 ++++++ 5 files changed, 30 insertions(+) diff --git a/docs/platforms/android/logs/index.mdx b/docs/platforms/android/logs/index.mdx index 760c7672c85be..cd4f5c6b18c72 100644 --- a/docs/platforms/android/logs/index.mdx +++ b/docs/platforms/android/logs/index.mdx @@ -30,3 +30,9 @@ With Sentry Structured Logs, you can send text-based log information from your a ## Default Attributes + +## Limitations + +### Missing Logs for Crashes + +Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/apple/common/logs/index.mdx b/docs/platforms/apple/common/logs/index.mdx index 32140b4a29f89..45a28ba710ef5 100644 --- a/docs/platforms/apple/common/logs/index.mdx +++ b/docs/platforms/apple/common/logs/index.mdx @@ -26,3 +26,9 @@ With Sentry Structured Logs, you can send text-based log information from your a ## Default Attributes + +## Limitations + +### Missing Logs for Crashes + +Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/dart/common/logs/index.mdx b/docs/platforms/dart/common/logs/index.mdx index 760c7672c85be..cd4f5c6b18c72 100644 --- a/docs/platforms/dart/common/logs/index.mdx +++ b/docs/platforms/dart/common/logs/index.mdx @@ -30,3 +30,9 @@ With Sentry Structured Logs, you can send text-based log information from your a ## Default Attributes + +## Limitations + +### Missing Logs for Crashes + +Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/dart/guides/flutter/logs/index.mdx b/docs/platforms/dart/guides/flutter/logs/index.mdx index 32140b4a29f89..45a28ba710ef5 100644 --- a/docs/platforms/dart/guides/flutter/logs/index.mdx +++ b/docs/platforms/dart/guides/flutter/logs/index.mdx @@ -26,3 +26,9 @@ With Sentry Structured Logs, you can send text-based log information from your a ## Default Attributes + +## Limitations + +### Missing Logs for Crashes + +Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/react-native/logs/index.mdx b/docs/platforms/react-native/logs/index.mdx index b7569ee6165b7..37b9d484394d9 100644 --- a/docs/platforms/react-native/logs/index.mdx +++ b/docs/platforms/react-native/logs/index.mdx @@ -32,3 +32,9 @@ With Sentry Structured Logs, you can send text-based log information from your a ## Default Attributes + +## Limitations + +### Missing Logs for Crashes + +Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. From 8587c422ccbe6f7773ddb54ab8e9066327400970 Mon Sep 17 00:00:00 2001 From: Karl Heinz Struggl Date: Tue, 2 Sep 2025 17:23:18 +0200 Subject: [PATCH 2/3] shorter text + added GH issue link --- docs/platforms/android/logs/index.mdx | 2 +- docs/platforms/apple/common/logs/index.mdx | 2 +- docs/platforms/dart/common/logs/index.mdx | 2 +- docs/platforms/dart/guides/flutter/logs/index.mdx | 2 +- docs/platforms/react-native/logs/index.mdx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/platforms/android/logs/index.mdx b/docs/platforms/android/logs/index.mdx index cd4f5c6b18c72..3c7e933c8385e 100644 --- a/docs/platforms/android/logs/index.mdx +++ b/docs/platforms/android/logs/index.mdx @@ -35,4 +35,4 @@ With Sentry Structured Logs, you can send text-based log information from your a ### Missing Logs for Crashes -Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-java/issues/4690) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/apple/common/logs/index.mdx b/docs/platforms/apple/common/logs/index.mdx index 45a28ba710ef5..ab36b98f0d796 100644 --- a/docs/platforms/apple/common/logs/index.mdx +++ b/docs/platforms/apple/common/logs/index.mdx @@ -31,4 +31,4 @@ With Sentry Structured Logs, you can send text-based log information from your a ### Missing Logs for Crashes -Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-cocoa/issues/5660) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/dart/common/logs/index.mdx b/docs/platforms/dart/common/logs/index.mdx index cd4f5c6b18c72..c4d37f8b332c0 100644 --- a/docs/platforms/dart/common/logs/index.mdx +++ b/docs/platforms/dart/common/logs/index.mdx @@ -35,4 +35,4 @@ With Sentry Structured Logs, you can send text-based log information from your a ### Missing Logs for Crashes -Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-dart/issues/3227) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/dart/guides/flutter/logs/index.mdx b/docs/platforms/dart/guides/flutter/logs/index.mdx index 45a28ba710ef5..3a7d2222027a1 100644 --- a/docs/platforms/dart/guides/flutter/logs/index.mdx +++ b/docs/platforms/dart/guides/flutter/logs/index.mdx @@ -31,4 +31,4 @@ With Sentry Structured Logs, you can send text-based log information from your a ### Missing Logs for Crashes -Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-dart/issues/3227) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/docs/platforms/react-native/logs/index.mdx b/docs/platforms/react-native/logs/index.mdx index 37b9d484394d9..2dec5f949cdce 100644 --- a/docs/platforms/react-native/logs/index.mdx +++ b/docs/platforms/react-native/logs/index.mdx @@ -37,4 +37,4 @@ With Sentry Structured Logs, you can send text-based log information from your a ### Missing Logs for Crashes -Logs are collected and sent in batches to reduce the number of individual requests performed. For this reason, unsent **logs might get lost in certain crash scenarios**, where the SDK can not send the logs before the app finally terminates. We are currently working on improving this to ensure that all logs are sent, at the latest on the next app restart. +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-react-native/issues/5125) this to ensure that all logs are sent, at the latest on the next app restart. From 31c95a3793d081a43acdecdb53f8c23fb1ece2a9 Mon Sep 17 00:00:00 2001 From: Karl Heinz Struggl Date: Tue, 2 Sep 2025 17:39:07 +0200 Subject: [PATCH 3/3] moved logs for crashes notes to platform includes --- docs/platforms/android/logs/index.mdx | 6 ++---- docs/platforms/apple/common/logs/index.mdx | 6 ++---- docs/platforms/dart/common/logs/index.mdx | 6 ++---- docs/platforms/dart/guides/flutter/logs/index.mdx | 6 ++---- docs/platforms/react-native/logs/index.mdx | 6 ++---- platform-includes/logs/troubleshooting/android.mdx | 3 +++ platform-includes/logs/troubleshooting/apple.mdx | 3 +++ platform-includes/logs/troubleshooting/dart.flutter.mdx | 3 +++ platform-includes/logs/troubleshooting/dart.mdx | 3 +++ platform-includes/logs/troubleshooting/react-native.mdx | 3 +++ 10 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 platform-includes/logs/troubleshooting/android.mdx create mode 100644 platform-includes/logs/troubleshooting/apple.mdx create mode 100644 platform-includes/logs/troubleshooting/dart.flutter.mdx create mode 100644 platform-includes/logs/troubleshooting/dart.mdx create mode 100644 platform-includes/logs/troubleshooting/react-native.mdx diff --git a/docs/platforms/android/logs/index.mdx b/docs/platforms/android/logs/index.mdx index 3c7e933c8385e..49c3ed812c5d0 100644 --- a/docs/platforms/android/logs/index.mdx +++ b/docs/platforms/android/logs/index.mdx @@ -31,8 +31,6 @@ With Sentry Structured Logs, you can send text-based log information from your a -## Limitations +## Troubleshooting -### Missing Logs for Crashes - -Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-java/issues/4690) this to ensure that all logs are sent, at the latest on the next app restart. + diff --git a/docs/platforms/apple/common/logs/index.mdx b/docs/platforms/apple/common/logs/index.mdx index ab36b98f0d796..831641634dd14 100644 --- a/docs/platforms/apple/common/logs/index.mdx +++ b/docs/platforms/apple/common/logs/index.mdx @@ -27,8 +27,6 @@ With Sentry Structured Logs, you can send text-based log information from your a -## Limitations +## Troubleshooting -### Missing Logs for Crashes - -Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-cocoa/issues/5660) this to ensure that all logs are sent, at the latest on the next app restart. + diff --git a/docs/platforms/dart/common/logs/index.mdx b/docs/platforms/dart/common/logs/index.mdx index c4d37f8b332c0..49c3ed812c5d0 100644 --- a/docs/platforms/dart/common/logs/index.mdx +++ b/docs/platforms/dart/common/logs/index.mdx @@ -31,8 +31,6 @@ With Sentry Structured Logs, you can send text-based log information from your a -## Limitations +## Troubleshooting -### Missing Logs for Crashes - -Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-dart/issues/3227) this to ensure that all logs are sent, at the latest on the next app restart. + diff --git a/docs/platforms/dart/guides/flutter/logs/index.mdx b/docs/platforms/dart/guides/flutter/logs/index.mdx index 3a7d2222027a1..831641634dd14 100644 --- a/docs/platforms/dart/guides/flutter/logs/index.mdx +++ b/docs/platforms/dart/guides/flutter/logs/index.mdx @@ -27,8 +27,6 @@ With Sentry Structured Logs, you can send text-based log information from your a -## Limitations +## Troubleshooting -### Missing Logs for Crashes - -Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-dart/issues/3227) this to ensure that all logs are sent, at the latest on the next app restart. + diff --git a/docs/platforms/react-native/logs/index.mdx b/docs/platforms/react-native/logs/index.mdx index 2dec5f949cdce..887417ebe5f2c 100644 --- a/docs/platforms/react-native/logs/index.mdx +++ b/docs/platforms/react-native/logs/index.mdx @@ -33,8 +33,6 @@ With Sentry Structured Logs, you can send text-based log information from your a -## Limitations +## Troubleshooting -### Missing Logs for Crashes - -Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-react-native/issues/5125) this to ensure that all logs are sent, at the latest on the next app restart. + diff --git a/platform-includes/logs/troubleshooting/android.mdx b/platform-includes/logs/troubleshooting/android.mdx new file mode 100644 index 0000000000000..0923a9ba179fa --- /dev/null +++ b/platform-includes/logs/troubleshooting/android.mdx @@ -0,0 +1,3 @@ +### Missing Logs for Crashes + +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-java/issues/4690) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/platform-includes/logs/troubleshooting/apple.mdx b/platform-includes/logs/troubleshooting/apple.mdx new file mode 100644 index 0000000000000..8ac2c4940ad08 --- /dev/null +++ b/platform-includes/logs/troubleshooting/apple.mdx @@ -0,0 +1,3 @@ +### Missing Logs for Crashes + +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-cocoa/issues/5660) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/platform-includes/logs/troubleshooting/dart.flutter.mdx b/platform-includes/logs/troubleshooting/dart.flutter.mdx new file mode 100644 index 0000000000000..3639b15c24910 --- /dev/null +++ b/platform-includes/logs/troubleshooting/dart.flutter.mdx @@ -0,0 +1,3 @@ +### Missing Logs for Crashes + +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-dart/issues/3227) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/platform-includes/logs/troubleshooting/dart.mdx b/platform-includes/logs/troubleshooting/dart.mdx new file mode 100644 index 0000000000000..3639b15c24910 --- /dev/null +++ b/platform-includes/logs/troubleshooting/dart.mdx @@ -0,0 +1,3 @@ +### Missing Logs for Crashes + +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-dart/issues/3227) this to ensure that all logs are sent, at the latest on the next app restart. diff --git a/platform-includes/logs/troubleshooting/react-native.mdx b/platform-includes/logs/troubleshooting/react-native.mdx new file mode 100644 index 0000000000000..77a9e044c87fc --- /dev/null +++ b/platform-includes/logs/troubleshooting/react-native.mdx @@ -0,0 +1,3 @@ +### Missing Logs for Crashes + +Logs can get lost in certain crash scenarios, if the SDK can not send the logs before the app terminates. We are [currently working on improving](https://github.com/getsentry/sentry-react-native/issues/5125) this to ensure that all logs are sent, at the latest on the next app restart.