summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorskygo <skygo@unknown>2012-08-31 12:55:59 +0000
committerskygo <skygo@unknown>2012-08-31 12:55:59 +0000
commitdc75eb90ba66b12ce154219f9f7f1611c8cba237 (patch)
treea91c826f0094b8505f301ec05322416b125440ff /archiva-modules/archiva-base
parent66820f094a0db4bde880bcb174e7d94126357e59 (diff)
downloadarchiva-dc75eb90ba66b12ce154219f9f7f1611c8cba237.tar.gz
archiva-dc75eb90ba66b12ce154219f9f7f1611c8cba237.zip
add repoId to log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java
index 159b0e560..8ee323d6c 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java
@@ -176,7 +176,7 @@ public class ArchivaMetadataCreationConsumer
}
catch ( RepositoryStorageMetadataNotFoundException e )
{
- log.warn( "Missing or invalid POM for artifact: " + path + "; creating empty metadata" );
+ log.warn( "Missing or invalid POM for artifact:" + path + " (" + repoId + "); creating empty metadata" );
versionMetadata = new ProjectVersionMetadata();
versionMetadata.setId( projectVersion );
@@ -185,7 +185,7 @@ public class ArchivaMetadataCreationConsumer
}
catch ( RepositoryStorageMetadataInvalidException e )
{
- log.warn( "Error occurred resolving POM for artifact: " + path + "; message: " + e.getMessage() );
+ log.warn( "Error occurred resolving POM for artifact:" + path + "(" + repoId + "); message: " + e.getMessage() );
}
// read the metadata and update it if it is newer or doesn't exist
@@ -202,12 +202,12 @@ public class ArchivaMetadataCreationConsumer
}
catch ( MetadataRepositoryException e )
{
- log.warn( "Error occurred persisting metadata for artifact: " + path + "; message: " + e.getMessage(), e );
+ log.warn( "Error occurred persisting metadata for artifact: " + path + "(" + repoId + "); message: " + e.getMessage(), e );
repositorySession.revert();
}
catch ( RepositoryStorageRuntimeException e )
{
- log.warn( "Error occurred persisting metadata for artifact: " + path + "; message: " + e.getMessage(), e );
+ log.warn( "Error occurred persisting metadata for artifact: " + path + "(" + repoId + "); message: " + e.getMessage(), e );
repositorySession.revert();
}
finally