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
idevicesyslog managed by appium when not requested #10849
Comments
@mykola-mokhnach @imurchie do we need to run idevicesyslog for our own purposes even if log capture is not requested via caps? |
Previously it was necessary because we were reading WDA URL from the log, but now it is not the case anymore. I think we could add a separate capability to not start the log listener automatically. However, this will require to change several other places where we assume that the log listener is running. |
I started to use deviceconsole
This would be great. idevicesyslog has high CPU usage compared to deviceconsole. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The problem
The appium-ios-driver will 1) kill any existing idevicesyslog processes for the given udid being tested (https://github.com/appium/appium-ios-driver/blob/30b3c545278cba286b786c8360812164cf7d5f3e/lib/device-log/ios-log.js#L279) and 2) spawn a new idevicesyslog even if the
showIOSLog
capability is not set.Environment
Details
I run my own idevicesyslog but it is killed by appium when a new session is started. I would prefer that appium does not kill my idevicesyslog process. My current workaround is to copy the idevicesyslog binary to a new name, thus avoiding being targeted by
pkill
.The text was updated successfully, but these errors were encountered: