You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using Shopware with Mollie in a cluster (Kubernetes) environment with multiple running Shopware pods. The mollie logs are written to filesystem inside our Shopware containers and are lost after each new deployment. It would be nice to be able to configure the logger used by the Mollie plugin to write somewhere else or reuse the configured Shopware logger.
The text was updated successfully, but these errors were encountered:
Just changing the path does not help, we would need some other log handler than the hardcoded file handler. Decorating the factory is a possible solution which we already discussed and experimented with. It would be nice though if you would allow configuring the monolog instance the code uses. Maybe accept a mollie-log.yaml or something similar from the config directory and only set the file logger as a fallback?
@feibeck i will see what i can do here. we have the problem that some things can be configured in plugin configuration therefore our logger needs db access which makes things a little complex.
We're using Shopware with Mollie in a cluster (Kubernetes) environment with multiple running Shopware pods. The mollie logs are written to filesystem inside our Shopware containers and are lost after each new deployment. It would be nice to be able to configure the logger used by the Mollie plugin to write somewhere else or reuse the configured Shopware logger.
The text was updated successfully, but these errors were encountered: