Add debug log line for config generation for supermodel configs
@@ -123,7 +123,10 @@ public class SuperModelRequestHandler implements RequestHandler {
public ConfigResponse resolveConfig(ApplicationId appId, GetConfigRequest req, Optional<Version> vespaVersion) {
log.log(LogLevel.DEBUG, "SuperModelRequestHandler resolving " + req + " for app id '" + appId + "'");
if (handler != null) {
- return handler.resolveConfig(req);
+ ConfigResponse configResponse = handler.resolveConfig(req);
+ log.log(LogLevel.DEBUG, "SuperModelRequestHandler returning config with generation " +
+ configResponse.getGeneration());
+ return configResponse;
}
return null;
}
