# Appium Error Logging

**URL:** <https://discuss.appium.io/t/appium-error-logging/6559>\
**Category:** Support\
**Created:** [October 15, 2015, 2:16pm UTC](https://discuss.appium.io/t/appium-error-logging/6559 "2015-10-15T14:16:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aarongrider](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@aarongrider](https://discuss.appium.io/u/aarongrider)\
**Post date:** [October 15, 2015, 2:16pm UTC](https://discuss.appium.io/t/appium-error-logging/6559/1 "2015-10-15T14:16:02Z")

</div>

Is there a recommended way to log errors from the Appium node server to a text file? I don’t want to pipe all the output from the server, just any errors that may occur.

---

<div class="post-metadata">

**Author:** ![willosser](https://discuss.appium.io/user_avatar/discuss.appium.io/willosser/32/2454_2.png) [@willosser](https://discuss.appium.io/u/willosser)\
**Post date:** [October 15, 2015, 9:54pm UTC](https://discuss.appium.io/t/appium-error-logging/6559/2 "2015-10-15T21:54:06Z")

</div>

While not all of the output is easily readable, it is recommended that you log all of the output. When you encounter problems, the first bit of information you’ll usually be asked for is the server logs.

---

<div class="post-metadata">

**Author:** ![aarongrider](https://discuss.appium.io/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@aarongrider](https://discuss.appium.io/u/aarongrider)\
**Post date:** [October 19, 2015, 2:43pm UTC](https://discuss.appium.io/t/appium-error-logging/6559/3 "2015-10-19T14:43:44Z")

</div>

I would like to return a simple one line message depending on what kind of failure occurred. We are running this system on thousands of devices and having a short message such as “ideviceinstaller failed to install” or “ADB timed out” would make it a lot simpler to troubleshoot. I know Appium sends errors like the, I just don’t know if there is a good way to grab them.

---

<div class="post-metadata">

**Author:** ![willosser](https://discuss.appium.io/user_avatar/discuss.appium.io/willosser/32/2454_2.png) [@willosser](https://discuss.appium.io/u/willosser)\
**Post date:** [October 19, 2015, 5:34pm UTC](https://discuss.appium.io/t/appium-error-logging/6559/4 "2015-10-19T17:34:52Z")

</div>

It would certainly be marvelous to have, and I’ve asked for something similar in the past. Some of the developers have done work to improve it. If you find messages that are meaningless or could be made less redundant (and increase the signal to noise ratio), file a ticket on github. Alternatively, if you’ll forgive me for being flip, become an Appium developer and fix it yourself.
