zalando / postgres-operator

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

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

Closed FxKu closed 1 month ago

FxKu commented 1 month 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 1 month ago

👍

idanovinda commented 1 month ago

👍

FxKu commented 1 month ago

:+1: