Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: LogSender Disconnecting #1385

Closed
2 tasks done
CyberXCoder-6649 opened this issue Oct 16, 2023 · 2 comments
Closed
2 tasks done

[Bug]: LogSender Disconnecting #1385

CyberXCoder-6649 opened this issue Oct 16, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@CyberXCoder-6649
Copy link

CyberXCoder-6649 commented Oct 16, 2023

What happened?

When trying to inspet logs no logs found when I checked IDE Logs its says Disconnecting but when i opens app instantly it works i think maybe because of any timeout or something if ide has timeout for Log Sender

What i understand about issue i mentioned above else you know

What version of AndroidIDE you're using?

v2.5.3 (debug builds)

Relevant log output

LogReceiverImpl           D   Disconnecting from all senders... 
LogReceiverImpl           I   Disconnecting from client: 'com.test' 
LogReceiverImpl           I   Total clients connected: 0 
AppLogFragment            I   Unbound from LogReceiver service

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@CyberXCoder-6649 CyberXCoder-6649 added the bug Something isn't working label Oct 16, 2023
@itsaky itsaky modified the milestones: v2.7.0-beta, v2.6.2-beta Nov 16, 2023
@sb-codz
Copy link

sb-codz commented Nov 25, 2023

@itsaky
I have a suggestion for app logging. Though it may seem like an old method, I've been using it for a few days. The method is as follows: the app's log file will be stored in the app's external file directory, and the app will create a log file to be read within the Android IDE.

This approach ensures that server-side logging won't be necessary, leading to a reduction in system lag. While I am reading the log file using the File Manager.

By reading this, you can surely understand what will happen.

File file = new File(mContext.getExternalFilesDir(null), "app_logs.txt");

@itsaky itsaky modified the milestones: v2.6.2-beta, v2.7.0-beta Dec 15, 2023
@itsaky
Copy link
Member

itsaky commented Dec 20, 2023

A fix was added in commit 3f15af6. Please checkout out the corresponding CI build.

@itsaky itsaky closed this as completed Dec 21, 2023
@Mohammad-Azizi Mohammad-Azizi mentioned this issue Jan 16, 2024
@Shekhanzai Shekhanzai mentioned this issue Jan 16, 2024
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants