mirror of https://github.com/apache/archiva.git
[MRM-810] Log the successful upload. Needs to be fixed to write to audit.log in the correct format instead.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@657406 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8adede7e94
commit
ea6809bb91
|
@ -353,8 +353,14 @@ public class UploadAction
|
|||
|
||||
updateMetadata( getMetadata( targetPath.getAbsolutePath() ) );
|
||||
|
||||
addActionMessage( "Artifact \'" + groupId + ":" + artifactId + ":" + version +
|
||||
"\' was successfully deployed to repository \'" + repositoryId + "\'!" );
|
||||
String msg = "Artifact \'" + groupId + ":" + artifactId + ":" + version +
|
||||
"\' was successfully deployed to repository \'" + repositoryId + "\'";
|
||||
|
||||
//TODO: MRM-810 (this writes to archiva.log, should be audit.log)
|
||||
getLogger().info( msg + " by " + getPrincipal() );
|
||||
|
||||
//TODO: MRM-785 (success message does not display on web page)
|
||||
addActionMessage( msg );
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue