SaeedDev94 / Xray

Xray GUI Client For Android
MIT License
181 stars 20 forks source link

App freeze if open logs #27

Closed gersoctruda closed 2 months ago

gersoctruda commented 3 months ago

It is difficult to debug the configuration if it is impossible to view the program operation log. If I open logs program freeze. The program can only be resumed after stopping. I use last release v7.0.0.

gersoctruda commented 3 months ago

Thank you for your work! This is a unique program of its kind!

SaeedDev94 commented 3 months ago

It should be ok, the logs appears in real time but for low memory devices it can causes the crash
I can show the latest logs but the user needs to refresh (to see the new logs, like v2rayNG)

gersoctruda commented 3 months ago

Thanks for your feedback!

My Samsung S21 plus have a 8 Gb ram.

I added a description of the log files to the configuration to solve the situation: "log": { "loglevel": "info", "access": "./storage/emulated/0/Download/xray-core/xray-core-access.log", "error": "./storage/emulated/0/Download/xray-core/xray-core.log", "dnsLog": true },

It is works for me.

SaeedDev94 commented 3 months ago

Can you send the crash logs ?

gersoctruda commented 3 months ago

Where I get crash logs this app? In xray log files no information about crash app. I recorded a video that shows the problem.

https://github.com/SaeedDev94/Xray/assets/116814397/e75b3c76-96fe-4eba-b1a6-c4512c0d8048

SaeedDev94 commented 3 months ago

I mean logcat logs, you can capture it with adb

maskedeken commented 2 months ago

@gersoctruda I tried to fix the issue, try my release and feel free to feed back

gersoctruda commented 2 months ago

@gersoctruda I tried to fix the issue, try my release and feel free to

Thanks you! Logs works it last release!

gersoctruda commented 2 months ago

Problem solved.

SaeedDev94 commented 2 weeks ago

@gersoctruda https://github.com/SaeedDev94/Xray/releases/tag/v7.6.3