Logging Mechanism
Closed this issue · 1 comments
AlanFoster commented
Hey,
I've just been poking around the code base, and it would be great if I could get a clarification on this piece of code
Am I right in saying that this mechanism will globally set the value of the HTTPI logger for all gems?
For instance, if there are 3 mechanisms using HTTPI which are currently set to log, and I then additionally add active_zuora with logging set to false, the existing mechanisms will no longer log?
anfleene commented
Yes that is correct any gems that use SAVON or HTTPI will be affected by setting it. I'm not a huge fan of that implementation, but HTTPI's logging interface is on the HTTPI class so I don't think there is a way to set the log level individually per gem.