This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git

commit a59df13f7c5437e7002d924bfd63a5a244068a46
Author: Martin Stockhammer <[email protected]>
AuthorDate: Thu Jan 16 18:33:40 2020 +0100

    Improving log messages
---
 .../archiva/rest/services/DefaultRemoteRepositoriesService.java     | 6 +++---
 1 file 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 53522ff..f32ddde 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);
                 }
             }
 

Reply via email to