espocrm / espocrm-docker

Official Docker Image for EspoCRM
https://hub.docker.com/r/espocrm/espocrm
GNU Affero General Public License v3.0
56 stars 34 forks source link

Set debug logging through Config Environments #26

Closed fdstevex closed 3 months ago

fdstevex commented 12 months ago

I'm trying to work through installing on Kubernetes, and I'm at a point where enabling debug logging would be useful.

I can override values in config.php using Config Environments (https://docs.espocrm.com/administration/log/) but the logger setting is an array, and there's no example of how to do this.

Is it possible to set an array config value from the environment?

tmachyshyn commented 3 months ago

You can define the following environment (since v8.2.1):

ESPOCRM_CONFIG_LOGGER_LEVEL: "DEBUG"

For more details, please visit https://docs.espocrm.com/administration/docker/installation/#logger