toluaina / pgsync

Postgres to Elasticsearch/OpenSearch sync
https://pgsync.com
MIT License
1.11k stars 174 forks source link

Logging not customizable through env #418

Open ben-at-soul-refiner opened 1 year ago

ben-at-soul-refiner commented 1 year ago

PGSync version: 2.5

Postgres version: 15

Elasticsearch version: 7.17.9

Redis version: 7.0.8

Python version: 3.7

Problem Description:

Setting the CUSTOM_LOGGING variable doesn't change the logging behavior.

Steps to replicate

  1. Set the variable in the docker-compose.yml of this repo to anything, e.g.:
      - CUSTOM_LOGGING=elasticsearch=CRITICAL,pgsync=CRITICAL
  1. The logging behavior does not change

(Btw thanks for this great package!)

toluaina commented 1 year ago

Thank you. I'll take a look at this shortly