You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First up, thanks for writing oxy! It's neat and helped us quite a bit so far.
However, we need the ability to disable logging from oxy, because we want to decide what to log ourselves.
To that end, we have a tiny fork that has a new github.com/vulcand/oxy/log package, which exposes only the parts of logrus' API that oxy uses, and delegates it to a package-internal *logrus.Logger. All imports of logrus have been changed to import the new package. In addition, it's now possible to .Disable() the logger, which sets the output to io.Discard.
Would you be interested in merging these changes? If not, would you be interested in merging changes that allow swapping out the logger?
And to the wider community: Do you also need to disable (or even change) the logger that oxy uses? If so, say so by :+1_tone3:ing this issue.
The text was updated successfully, but these errors were encountered:
First up, thanks for writing oxy! It's neat and helped us quite a bit so far.
However, we need the ability to disable logging from oxy, because we want to decide what to log ourselves.
To that end, we have a tiny fork that has a new
github.com/vulcand/oxy/log
package, which exposes only the parts of logrus' API that oxy uses, and delegates it to a package-internal*logrus.Logger
. All imports of logrus have been changed to import the new package. In addition, it's now possible to.Disable()
the logger, which sets the output toio.Discard
.Would you be interested in merging these changes? If not, would you be interested in merging changes that allow swapping out the logger?
And to the wider community: Do you also need to disable (or even change) the logger that oxy uses? If so, say so by :+1_tone3:ing this issue.
The text was updated successfully, but these errors were encountered: