Logging ByteBuddy type resolution stack trace only on debug level
@@ -40,7 +40,8 @@ public class ErrorLoggingListener extends AgentBuilder.Listener.Adapter {
"Consider updating to a newer version of that library.", typeName);
} else {
if (throwable.getMessage().contains("Cannot resolve type description")) {
- logger.info(typeName + " refers to a missing class", throwable);
+ logger.info(typeName + " refers to a missing class.");
+ logger.debug("ByteBuddy type resolution stack trace: ", throwable);
} else {
logger.warn("Error on transformation " + typeName, throwable);
}
