zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.37k stars 981 forks source link

[UI] use only one logger adapter and update Dockerfile #2646

Closed FxKu closed 5 months ago

FxKu commented 5 months ago

This PR fixes a long standing issue with UI logging stack traces for when logging was called from code. The reason seems to be multiple loggers are in action here - imported from dependencies vs or own getLogger instances. By using a central logger adapter which deactivates existing loggers in its config (when imported after them) we can get rid of these stack traces.

Moreover, the Dockerfile is now using a new base image which makes the setup more straight forward.

Another minor fix removes a redundant info block from the status page.

idanovinda commented 5 months ago

👍

idanovinda commented 5 months ago

👍

FxKu commented 5 months ago

:+1: