I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after it finishes tests.

What I had tried:
1. I tried to use log4j, but it seems working with java console only not Appium.
2. I tried to use field available in Appium itself, but if i use it Appium do no start and shows undefined error, on research i find nobody uses that feature.

So I am not sure if we can do this or not. Any help is appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.