Skip to content

Commit 418c6da

Browse files
committed
Upgrade log for local entry record sending from Sidecar
1 parent e0f1aad commit 418c6da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/commonjava/indy/service/tracking/controller/AdminController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public boolean recordArtifact( TrackedContentEntry contentEntry )
354354
}
355355
catch ( final ContentException | IndyWorkflowException e )
356356
{
357-
logger.error( "Failed to read TrackedContentEntry.", e );
357+
logger.error( "Failed to record entry: {}.", contentEntry, e );
358358
}
359359
return isRecorded;
360360
}

src/main/java/org/commonjava/indy/service/tracking/jaxrs/AdminResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public Response recordArtifact( @Parameter( in = PATH, required = true ) @PathPa
204204
Boolean result = controller.recordArtifact( contentEntry );
205205
if ( result )
206206
{
207-
logger.debug( "Done for path {}, id {} artifact record.", path, id );
207+
logger.info( "Entry record done, path: {}, id: {}.", path, id );
208208
return Response.ok().build();
209209
}
210210
return Response.status( Response.Status.NOT_FOUND ).build();

0 commit comments

Comments
 (0)