> For the complete documentation index, see [llms.txt](https://docs.navigaglobal.com/article-search/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.navigaglobal.com/article-search/admin/config/article-preview-1.md).

# Logs API

This logging mechanism is **configurable** via the `enabled` flag (`true` or `false`) under the key `logsApi` in article search configuration.\
There is **no functional impact** from this change — it only adds optional error logging to AWS for better monitoring and debugging.

<figure><img src="/files/zFjv5t6oZz4zKbbRF8NO" alt=""><figcaption></figcaption></figure>

```javascript
 "logsApi": {
                        "host": "${DBKS:DB_LOG_URL}",
                        "enabled": true
                }
```

**Configuration Details:**

`host` This field specifies the host url for the logs. host url will be available in dashboard config key store with key **DB\_LOG\_URL**

`enable` This field can be set either *True* or *False.* If set to true then it will capture and send errors to AWS CloudWatch for better monitoring and debugging. If set to false then errors would not be logged on AWS.
