-
Notifications
You must be signed in to change notification settings - Fork 125
Description
Before opening, please confirm:
- I have searched for duplicate or closed issues and discussions.
Language and Async Model
Kotlin
Amplify Categories
Not applicable
Gradle script dependencies
Details
// Put output below this line
Environment information
Details
# Put output below this line
Please include any relevant guides or documentation you're referencing
No response
Describe the feature request
Add support for Android CloudWatch log stream naming to match iOS by default (installationId + userId). This would make cross‑platform log retrieval consistent and predictable. As a nice‑to‑have, allow configuring the log stream name (e.g., logStreamName field or provider in AWSCloudWatchLoggingPluginConfiguration).
Why this is needed
Android CloudWatch logging plugin currently generates stream names as:
MM-dd-yyyy.<deviceId>.<userId|guest>.
Line 120 in 415a767
| val streamName = "$todayDate.${uniqueDeviceId()}.${userIdentityId ?: "guest"}" |
This creates many log streams per user (one per day) and makes per‑user retrieval across time inefficient unless you already know all dates/stream names.
iOS uses a different convention (installationId + userId), so cross‑platform log retrieval is inconsistent.
Request
- Align Android default log stream naming with iOS (installationId + userId).
- Nice‑to‑have: allow a configurable log stream name or provider.
Thanks!
Initialization steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Configuration File
No response
GraphQL Schema
Details
// Put your schema below this line
Additional information and screenshots
No response