File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/io/perf/tools/bot Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public boolean internal() {
6363 @ Override
6464 public void execute (ActionContext <?> ctx ) throws IOException {
6565 if (ctx != null && !ActionContext .Status .isFailure (ctx .getStatus ())) {
66- Log .trace ("[" + PayloadHelper .getRepository (ctx .getPayload ()).getFullName () + "] [" + ctx .getPayload ().getSender ()
66+ Log .debug ("[" + PayloadHelper .getRepository (ctx .getPayload ()).getFullName () + "] [" + ctx .getPayload ().getSender ()
6767 .getLogin () + "] Executing action: " + getName ());
6868 proceed (ctx );
6969 } else {
Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ public class AmqpEventHandler {
4242 // TODO: Replace hard-coded topic
4343 @ Incoming ("amqp-channel" )
4444 public void onComment (String payload ) throws IOException {
45- Log .debug ("Received AMQP message:\n " + payload );
46-
4745 GitHub github = gitHubService .getInstallationClient (installationId );
4846 GHEventPayload .IssueComment issueComment = github .parseEventPayload (new StringReader (payload ),
4947 GHEventPayload .IssueComment .class );
Original file line number Diff line number Diff line change @@ -47,11 +47,13 @@ public class PerfBotService {
4747 * @param issueComment the GitHub issue comment event payload
4848 */
4949 public void onGithubComment (GHEventPayload .IssueComment issueComment ) {
50+ Log .trace ("Received issue command: " + issueComment .getComment ().getHtmlUrl ());
5051 Action action = actionResolver .getActionFromComment (issueComment .getComment ().getBody ());
5152 ProjectConfig config = configService .getConfig (PayloadHelper .getRepository (issueComment ).getFullName ());
5253
5354 // skip any issue comment action that is not "created", e.g., ignore comment deletion
5455 if (action != null && ISSUE_COMMENT_CREATE_ACTION .equalsIgnoreCase (issueComment .getAction ())) {
56+ Log .trace ("Received issue command: " + issueComment .getComment ().getBody ());
5557 ActionContext <GHEventPayload .IssueComment > ctx = new ActionContext <>(issueComment , config );
5658 executeCommand (action , ctx );
5759 }
You can’t perform that action at this time.
0 commit comments