Remove invalid command displayed in the log in shutdown socket to avoid potential security issue
@@ -124,8 +124,7 @@ class ShutdownSocketThread extends Thread implements AutoCloseable {
break;
} else {
if (!command.toString().isEmpty()) {
- LOG.log(Level.WARNING, "Karaf shutdown socket: Invalid command '" +
- command.toString() + "' received");
+ LOG.log(Level.WARNING, "Karaf shutdown socket: Invalid command received");
}
}
}
