kffl / pinot-client-node

Node.js client library for Apache Pinot :wine_glass:, a realtime distributed OLAP datastore
https://kffl.github.io/pinot-client-node/
Apache License 2.0
7 stars 0 forks source link

logger integration #1

Closed kffl closed 2 years ago

kffl commented 2 years ago

As of now, a single console.warn is used in one failure scenario (controller-based broker selector failing the periodically triggered update method). Additional logger invocations could be added in order to make potential debugging more convenient. On top of that, console should be replaced with a user-provided logger conforming to the standard Log4j interface (i.e. pino, winston or log4js).