aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-01-16 18:33:40 +0100
committerMartin Stockhammer <martin_s@apache.org>2020-01-16 18:33:40 +0100
commita59df13f7c5437e7002d924bfd63a5a244068a46 (patch)
tree33421994225bb71e9752c0946c69195260604cee /archiva-modules/archiva-web
parent7f6436c0e26b7792942917181c56218faf116073 (diff)
downloadarchiva-a59df13f7c5437e7002d924bfd63a5a244068a46.tar.gz
archiva-a59df13f7c5437e7002d924bfd63a5a244068a46.zip
Improving log messages
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRemoteRepositoriesService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRemoteRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRemoteRepositoriesService.java
index 53522ff99..f32ddde32 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRemoteRepositoriesService.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRemoteRepositoriesService.java
@@ -129,7 +129,7 @@ public class DefaultRemoteRepositoriesService
try {
RemoteRepository remoteRepository = remoteRepositoryAdmin.getRemoteRepository(repositoryId);
if (remoteRepository == null) {
- log.warn("ignore scheduleDownloadRemote for repo with id {} as not exists", repositoryId);
+ log.warn("Remote repository {} does not exist. Connectivity check returns false.", repositoryId);
return Boolean.FALSE;
}
NetworkProxy networkProxy = null;
@@ -137,8 +137,8 @@ public class DefaultRemoteRepositoriesService
networkProxy = proxyRegistry.getNetworkProxy(remoteRepository.getRemoteDownloadNetworkProxyId());
if (networkProxy == null) {
log.warn(
- "your remote repository is configured to download remote index trought a proxy we cannot find id:{}",
- remoteRepository.getRemoteDownloadNetworkProxyId());
+ "A network proxy {} was configured for repository {}. But the proxy with the given id does not exist.",
+ remoteRepository.getRemoteDownloadNetworkProxyId(), repositoryId);
}
}