# Appium log file - Access Denied when trying to open it

**URL:** <https://discuss.appium.io/t/appium-log-file-access-denied-when-trying-to-open-it/12793>\
**Category:** Support\
**Created:** [October 18, 2016, 2:12pm UTC](https://discuss.appium.io/t/appium-log-file-access-denied-when-trying-to-open-it/12793 "2016-10-18T14:12:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yulev](https://discuss.appium.io/letter_avatar_proxy/v4/letter/y/e495f1/32.png) [@yulev](https://discuss.appium.io/u/yulev)\
**Post date:** [October 18, 2016, 2:12pm UTC](https://discuss.appium.io/t/appium-log-file-access-denied-when-trying-to-open-it/12793/1 "2016-10-18T14:12:38Z")

</div>

In order to figure if Appium server is up I want to check Appium Log file, but when trying to open the log file I get Access Denied…

Someone know why? and how can I fix it?

Or maybe other way to check if Appium Server Status?

Thank you  
Yuval

---

<div class="post-metadata">

**Author:** ![pavanbachu](https://discuss.appium.io/user_avatar/discuss.appium.io/pavanbachu/32/5569_2.png) [@pavanbachu](https://discuss.appium.io/u/pavanbachu)\
**Post date:** [October 18, 2016, 3:45pm UTC](https://discuss.appium.io/t/appium-log-file-access-denied-when-trying-to-open-it/12793/2 "2016-10-18T15:45:54Z")

</div>

Can you please tell which command you use to initialize appium ?

---

<div class="post-metadata">

**Author:** ![yulev](https://discuss.appium.io/letter_avatar_proxy/v4/letter/y/e495f1/32.png) [@yulev](https://discuss.appium.io/u/yulev)\
**Post date:** [October 19, 2016, 8:44am UTC](https://discuss.appium.io/t/appium-log-file-access-denied-when-trying-to-open-it/12793/3 "2016-10-19T08:44:30Z")

</div>

Hi pavanbachu,  
Yes this is the commands I have used:

```
        System.Diagnostics.Process process;
        process = new System.Diagnostics.Process();
        System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
        startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized; //Change to Maximized or Hidden to debug Appium
        startInfo.FileName = AppiumNodePath;
        startInfo.Arguments = AppiumJSPath + " --address " + AppiumServerIP + " --port " + AppiumServerPort + " --automation-name Appium --log-no-color --sessions-override --log " + logPath;
        process.StartInfo = startInfo;
        process.Start();
```
