# Remove JSON trace information

**URL:** <https://community.dreamfactory.com/t/remove-json-trace-information/1905>\
**Category:** REST API\
**Created:** [December 9, 2015, 6:33am UTC](https://community.dreamfactory.com/t/remove-json-trace-information/1905 "2015-12-09T06:33:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![juniorconte](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/juniorconte/32/1007_2.png) [@juniorconte](https://community.dreamfactory.com/u/juniorconte)\
**Post date:** [December 9, 2015, 3:39pm UTC](https://community.dreamfactory.com/t/remove-json-trace-information/1905/4 "2015-12-09T15:39:47Z")

</div>

Hello, I did some testing, and arrived at a possible solution.

In .env file (located in htdocs) there are two settings in the beginning of the file:

```auto
## ---------------------------------------
## Application Settings
## ---------------------------------------

APP_ENV = local
APP_DEBUG = false

```

I realized that if APP\_ENV is different from “local”, ie “production” the trace is not entered in error JSON.

```auto
## ---------------------------------------
## Application Settings
## ---------------------------------------

APP_ENV = production
APP_DEBUG = false

```

Note: After changed to “production” did some testing, and only thing that changed was the addition of trace in the error messages. If something else changes, let you know.

---

_[View the full topic](https://community.dreamfactory.com/t/remove-json-trace-information/1905)._
