Skip to content

Commit

Permalink
alter the logs to have orgId
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronRushton committed Jan 27, 2025
1 parent caef0e8 commit b615c4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ private void finalizeAndSendResponse(CommandRequest requestBO) {
}

private Path executeTerraformCommand(CommandRequest request, Command command, Map<String, String> envVars) {
Path executionLog = null;
try {
Validate.isTrue(command.getCommandType().equals(terraform), "Command type must be terraform");
return terraformManager.execute(request, command, envVars);
Expand All @@ -240,7 +239,7 @@ private Path executeTerraformCommand(CommandRequest request, Command command, Ma
setCommandError(command, e);

}
return executionLog;
return null;
}

private void executeSempCommand(Command command, SolaceHttpSemp solaceClient) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public CommandMessageProcessor(CommandManager commandManager,

@Override
public void processMessage(CommandMessage message) {
log.info("Config push command processor started. context={} actorId={} ", message.getContext(), message.getActorId());
log.info("Config push command processor started. context={} orgId={} actorId={} ",
message.getContext(), message.getOrgId(), message.getActorId());
logConfigPushMetric(message);
if (CollectionUtils.isNotEmpty(message.getResources())) {
dynamicResourceConfigurationHelper.loadSolaceBrokerResourceConfigurations(message.getResources());
Expand Down

0 comments on commit b615c4e

Please sign in to comment.