From b8e1fa94f3f28a94b466c79b1a4b24c6fd755df1 Mon Sep 17 00:00:00 2001 From: James Moger Date: Wed, 12 Mar 2014 21:44:36 -0400 Subject: [PATCH] Improve logging of received patchset command --- src/main/java/com/gitblit/git/PatchsetReceivePack.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/gitblit/git/PatchsetReceivePack.java b/src/main/java/com/gitblit/git/PatchsetReceivePack.java index ee8295ca..d3d0b1df 100644 --- a/src/main/java/com/gitblit/git/PatchsetReceivePack.java +++ b/src/main/java/com/gitblit/git/PatchsetReceivePack.java @@ -484,6 +484,8 @@ public class PatchsetReceivePack extends GitblitReceivePack { * @return the patchset command */ private PatchsetCommand preparePatchset(ReceiveCommand cmd) { + LOGGER.info(MessageFormat.format("Preparing {0} patchset command for \"{1}\" received from {2}", + repository.name, cmd.getRefName(), user.username)); String branch = getIntegrationBranch(cmd.getRefName()); long number = getTicketId(cmd.getRefName()); -- 2.39.5