AkamaiOPEN-edgegrid-golang
AkamaiOPEN-edgegrid-golang copied to clipboard
Akamai should not mutate, or log to, the global Logrus logger
This library interferes with application logging by logging its own data and even mutating the global log level (!). Additionally, it seems that the logging can log secrets to disk (I can see access tokens in what's logged) which is not permitted under our security practices.
Instead, the library should take in some kind of logging interface in the edgegrid.Config. In its absence, it could use a default logger to print to stdout.
I absolutely agree with this; and should probably have been done when migrating to the new package structure which didn't need to maintain BC.
We'll discuss this internally and see what the best approach is for minimal impact.
Great, thanks!
@connor4312 - Logrus is no longer used in the lates version of Edgegrid library.