Remove JSON trace information

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:

## ---------------------------------------
## 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.

## ---------------------------------------
## 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.

4 Likes