From: Maria Odea B. Ching Date: Thu, 21 May 2009 08:23:09 +0000 (+0000) Subject: o changed log level of default proxy connectors to debug and warn X-Git-Tag: archiva-1.2.1~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8b08426a7453d6e5418e8ec130db45b37638f4ea;p=archiva.git o changed log level of default proxy connectors to debug and warn git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777008 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java index fa7799e30..19dabf9e0 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -466,11 +466,11 @@ public class DefaultRepositoryProxyConnectors String emsg = "Transfer not attempted on " + url + " : " + e.getMessage(); if ( fileExists( resource ) ) { - log.info( emsg + ": using already present local file." ); + log.debug( emsg + ": using already present local file." ); return resource; } - log.info( emsg ); + log.warn( emsg ); return null; } @@ -546,7 +546,7 @@ public class DefaultRepositoryProxyConnectors } catch ( PolicyViolationException e ) { - log.info( "Transfer invalidated from " + url + " : " + e.getMessage() ); + log.warn( "Transfer invalidated from " + url + " : " + e.getMessage() ); executeConsumers = false; if ( !fileExists( tmpResource ) ) {