diwakergupta / jetcd

Java client for etcd
Apache License 2.0
47 stars 14 forks source link

Make logging configurable #15

Open piefel opened 10 years ago

piefel commented 10 years ago

As of now, jetcd open a Retrofit client with full logging. This should be less verbose. Ideally, it should be configurable; better still, I’d like to use SLF4J for logging instead of System.out.println. Do you figure that EtcdClientFactory could be supplemented with a newInstance(String server, RestAdapter.Log logger, RestAdapter.LogLevel loglevel) call, or would that be too much?

diwakergupta commented 9 years ago

Totally reasonable request! Feel free to send a PR, otherwise I'll try to get to this soon.