# Unable to start nxlog from a custom PATH

**URL:** <https://community.graylog.org/t/unable-to-start-nxlog-from-a-custom-path/11982>\
**Category:** Graylog Central (peer support)\
**Tags:** sidecar\
**Created:** [September 16, 2019, 3:59pm UTC](https://community.graylog.org/t/unable-to-start-nxlog-from-a-custom-path/11982 "2019-09-16T15:59:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bruno](https://community.graylog.org/u/Bruno)\
**Post date:** [September 16, 2019, 3:59pm UTC](https://community.graylog.org/t/unable-to-start-nxlog-from-a-custom-path/11982/1 "2019-09-16T15:59:45Z")

</div>

Hi,

I use nxlog as backend with Graylog Sidecar.  
When nxlog is installed in the deafult path C:\Program Files (x86)\nxlog\ everything works good.  
Now, I need to install nxlog in a different directory (i.e… c:\nxlog) but I cannot make it working.

Here is what I get from the sidecar:

```
level=error msg="[nxlog] Couldn't execute collector C:\\Program Files (x86)\\nxlog\\nxlog.exe, binary path is not included in `collector_binaries_whitelist' config option." 

```

My **sidecar.yml** seems ok to me:

```
backends:
    - name: nxlog
      enabled: true
      binary_path: C:\nxlog\nxlog.exe
      configuration_path: C:\Program Files\Graylog\sidecar\generated\nxlog.conf
...
...
...
collector_binaries_whitelist: 
    - "C:\\nxlog\\nxlog.exe"

```

Also, the generated **nxlog.conf** points to C:\nxlog path

```
 define ROOT C:\nxlog

```

What am I missing?

Kind Regards,

Bruno

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [September 30, 2019, 3:59pm UTC](https://community.graylog.org/t/unable-to-start-nxlog-from-a-custom-path/11982/2 "2019-09-30T15:59:52Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
