# Custom fields in logs

**URL:** <https://community.auth0.com/t/custom-fields-in-logs/38255>\
**Category:** Get Help\
**Tags:** logs\
**Created:** [February 21, 2020, 9:40am UTC](https://community.auth0.com/t/custom-fields-in-logs/38255 "2020-02-21T09:40:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pureza](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pureza/32/19307_2.png) [@pureza](https://community.auth0.com/u/pureza)\
**Post date:** [February 21, 2020, 9:40am UTC](https://community.auth0.com/t/custom-fields-in-logs/38255/1 "2020-02-21T09:40:02Z")

</div>

We’d like to add custom fields to auth0 logs – in particular error logs, such as a request id that we can use to correlate auth0 logs with the logs in our backend.

For example, instead of:

```auto
"details": {
    "error": {
      "message": "Invalid credentials"
    }
  }

```

we’d like to have:

```auto
"details": {
    "error": {
      "message": "Invalid credentials",
      "code": "invalid.credentials",
      "requestId": "12345",
      // etc
    }
  }

```

Is this possible? I did a quick investigation and couldn’t find a way.

Thanks,

Luis

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 21, 2020, 12:25pm UTC](https://community.auth0.com/t/custom-fields-in-logs/38255/3 "2020-02-21T12:25:55Z")

</div>

Hey there!

Unfortunately it’s not doable. You can however file a feature request to our product team via:

> **[Auth0: Secure access for everyone. But not just anyone.](https://auth0.com/feedback)**
>
> Rapidly integrate authentication and authorization for web, mobile, and legacy applications so you can focus on your core business.

You should be contacted then by one of our product managers within 10 business days.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 26, 2020, 1:38pm UTC](https://community.auth0.com/t/custom-fields-in-logs/38255/4 "2020-02-26T13:38:39Z")

</div>


