Browse Source

MirrorBucketProcessor - lower log level

develop
Adrian Gonzalez 6 years ago
parent
commit
5817c0115c
  1. 4
      src/main/java/com/englishtown/bitbucket/hook/MirrorBucketProcessor.java

4
src/main/java/com/englishtown/bitbucket/hook/MirrorBucketProcessor.java

@ -81,7 +81,7 @@ public class MirrorBucketProcessor implements BucketProcessor<MirrorRequest> {
}
private void runMirrorCommand(MirrorSettings settings, Repository repository) {
log.warn("{}: Preparing to push changes to mirror", repository);
log.debug("{}: Preparing to push changes to mirror", repository);
String password = passwordEncryptor.decrypt(settings.password);
String authenticatedUrl = getAuthenticatedUrl(settings.mirrorRepoUrl, settings.username, password);
@ -125,7 +125,7 @@ public class MirrorBucketProcessor implements BucketProcessor<MirrorRequest> {
command.setTimeout(timeout);
Object result = command.call();
log.warn("{}: Push completed with the following output:\n{}", repository, result);
log.info("{}: Push completed with the following output:\n{}", repository, result);
}
String getAuthenticatedUrl(String mirrorRepoUrl, String username, String password) {

Loading…
Cancel
Save