Class PatchLogger

java.lang.Object
io.opentelemetry.javaagent.bootstrap.PatchLogger

public class PatchLogger extends Object
Dependencies of the agent sometimes call java.util.logging.Logger.getLogger(). This can have the effect of initializing the global LogManager incompatibly with the user's app.

Shadow rewrites will redirect those calls to this class, which will return a safe PatchLogger.

This also has the desired outcome of redirecting all logging to a single destination, as configured by the LoggingCustomizer implementation.