Skip to content

Commit 4d813f0

Browse files
Merge pull request #90 from AikidoSec/log-removal-patch
Remove some logging statements
2 parents b011219 + a74781d commit 4d813f0

File tree

1 file changed

+0
-3
lines changed
  • agent_api/src/main/java/dev/aikido/agent_api/background/ipc_commands

1 file changed

+0
-3
lines changed

agent_api/src/main/java/dev/aikido/agent_api/background/ipc_commands/Command.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public boolean matchesName(String command) {
3131
public abstract Optional<O> execute(I data, CloudConnectionManager connectionManager);
3232

3333
public Optional<O> send(ThreadIPCClient threadClient, I input) {
34-
logger.trace("Sending: %s", getName());
3534
try {
3635
// Convert input data from thread to a byte[] JSON :
3736
Gson gson = new Gson();
@@ -43,13 +42,11 @@ public Optional<O> send(ThreadIPCClient threadClient, I input) {
4342
if(!response.isEmpty()) {
4443
// Convert background process' response from byte[] JSON to the output object :
4544
O data = gson.fromJson(new String(response.get(), StandardCharsets.UTF_8), getOutputClass());
46-
logger.trace("Response is %", data);
4745
return Optional.of(data);
4846
}
4947
} catch (Exception e) {
5048
logger.trace(e);
5149
}
52-
logger.trace("Response is empty.");
5350
return Optional.empty();
5451
};
5552
}

0 commit comments

Comments
 (0)