o Added more debug logging

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750468 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-03-05 14:47:35 +00:00
parent a27e6457b4
commit afa3b93e09
1 changed files with 8 additions and 0 deletions

View File

@ -81,6 +81,13 @@ public class DefaultUpdateCheckManager
{
File file = artifact.getFile();
if ( getLogger().isDebugEnabled() )
{
getLogger().debug(
"Determining update check for " + artifact + " (" + file + ") from " + repository
+ " (enabled = " + policy.isEnabled() + ")" );
}
if ( !policy.isEnabled() )
{
return false;
@ -260,6 +267,7 @@ public class DefaultUpdateCheckManager
{
if ( !touchfile.canRead() )
{
getLogger().debug( "Skipped unreadable touchfile " + touchfile + " for key " + key );
return null;
}