shyim / shopware

Shopware 6 Docker Image
https://hub.docker.com/r/shyim/shopware
MIT License
66 stars 13 forks source link

How to disable User Deprecated: Since shopware/core messages? #72

Closed Zerotask closed 1 year ago

Zerotask commented 1 year ago

How to disable Shopware's user deprecated ErrorException completely?

I tried a couple of things related to Symfony, Monolog and PHP but nothing worked.

Especially when using commands, it's really hard to properly read output when you constantly get blocks of deprecated.

image

shyim commented 1 year ago

APP_DEBUG=0

Zerotask commented 1 year ago

I already tried that without success.

wv-leifel commented 1 year ago

@Zerotask I'm currently using this monolog config to hide these messages. It's displaying the output of the command and errors as far as i tried but i don't know if it hides something important, so use with care.

https://gist.github.com/wv-leifel/33292c950cda3bd59b71322c27ba57f9

Just mount it to /var/www/html/config/packages/dev/monolog.yaml

shyim commented 1 year ago

As it is not related to this docker image I will close this