-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Need a way to disable logging #241
Comments
The Appium server has a flag, |
I'm talking about the logging from io.appium.uiautomator2.server app that runs on the android device (that shows up in logcat on the device), not the logging from appium server (node program). |
I think if the https://developer.android.com/reference/android/util/Log#isLoggable(java.lang.String,%20int) |
@sshock Feel free to add a PR. This should be a simple change |
@mykola-mokhnach Sounds good. I will see if I get around to it sometime this week ;) Note that the default level is INFO, so if I understand correctly, after making this change VERBOSE and DEBUG will no longer be logged by default, and if someone wants those they will need to use setprop and/or specify in /data/local.prop. So we may want to consider ways to raise awareness about this so people aren't totally caught off guard. |
Is there any way to disable logging other than commenting it out and creating my own build?
The text was updated successfully, but these errors were encountered: