-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.10
-
Fix Version/s: QualifiedToSchedule
-
Component/s: nuxeoctl start/stop/admin
-
Tags:
-
Team:NOS
-
Story Points:2
When launching Nuxeoctl at log level "debug", the URLs of HTTP requests are logged:
nuxeo-server-10.10-tomcat $ bin/nuxeoctl -d org.nuxeo -- mp-update ... [org.nuxeo.connect.connector.AbstractConnectConnector] Cache empty or expired for studio_server-10.10. Sending request to https://nos-dev02-connect.beta.nuxeocloud.com/nuxeo/site/connect-gateway/registred/ [org.nuxeo.connect.connector.AbstractConnectConnector] Cache empty or expired for hotfix_server-10.10. Sending request to https://nos-dev02-connect.beta.nuxeocloud.com/nuxeo/site/connect-gateway/registred/ [org.nuxeo.connect.connector.AbstractConnectConnector] Cache empty or expired for addon_server-10.10. Sending request to https://nos-dev02-connect.beta.nuxeocloud.com/nuxeo/site/connect-gateway/registred/
However, they are all the same. We don't know the exact url of each request. I suggest to log the exact URL instead of base URL.
nuxeo-connect-client/src/main/java/org/nuxeo/connect/connector/AbstractConnectConnector.java 254: log.debug("Cache empty or expired for " + fileSuffix + ". Sending request to " + getBaseUrl()); 255- // Fallback on the real source 256- String url = getBaseUrl() + GET_DOWNLOADS_SUFFIX + "/" + urlSuffix; 257- ConnectServerResponse response = execCall(url);