Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Save logs to accessible location for easier debugging in Android #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IamCOD3X
Copy link

Feat: Update log saving location to improve accessibility on Android 11+

Previously, logs were saved to the /android/data/com.tortel.syslog/ directory, which became inaccessible starting from Android 11 due to scoped storage restrictions. This update changes the log saving mechanism to store logs in the Downloads/SysLog/ directory, ensuring logs are saved in an accessible location for easier retrieval and debugging.

This update is especially useful for developers working with custom Android OS versions or custom kernel upstreaming, where network connectivity (Wi-Fi, SIM, Bluetooth) may be disrupted. With this change, users can now access and share logs using alternative methods, improving troubleshooting even in offline scenarios.

Previously, logs were saved to the /android/data/appname/ directory, which became inaccessible in Android 11 and above due to scoped storage restrictions. This update modifies the log saving mechanism to store logs in the Downloads/appname/ directory, ensuring logs are stored in an accessible location for easier retrieval and debugging.

This change helps developers, especially when upgrading custom Android OS versions or upstreaming custom kernels, where network connectivity may be broken (Wi-Fi, SIM, or Bluetooth). With this update, users can now copy and share logs using alternative methods, improving troubleshooting in offline scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant