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

log file #1

Open
FarAwaytarget opened this issue Sep 26, 2017 · 2 comments
Open

log file #1

FarAwaytarget opened this issue Sep 26, 2017 · 2 comments

Comments

@FarAwaytarget
Copy link

Hello, I use the monkey you provided, but in use found that a single log storage is too large, often the documents are not open. Do you want to optimize the log storage, as well as the error message collection statistics, thank you very much

@lukasnagl
Copy link
Owner

lukasnagl commented Sep 26, 2017

Hi. I actually don’t have an Android device any more, which makes changing this hard to test for me.

If you have an Android device and a bit of ruby knowledge, it shouldn’t be too hard, though:

  1. Log creation is actually using adb’s logcat. You’d need to switch to using log rotation with -f and -r when calling logcat here.
  2. Since log rotation will create multiple files, cleanup will need to be refactored to support folders.

In regards to error message collection, could you give an example on what you’d expect? I suppose monkey_master could gain a command to grep the resulting logs.

@FarAwaytarget
Copy link
Author

FarAwaytarget commented Sep 26, 2017 via email

Repository owner deleted a comment Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants