diff --git a/internal/custom-code-logging/command_custom_code_logging_update.go b/internal/custom-code-logging/command_custom_code_logging_update.go index e4730b983e..bf0b799edd 100644 --- a/internal/custom-code-logging/command_custom_code_logging_update.go +++ b/internal/custom-code-logging/command_custom_code_logging_update.go @@ -49,6 +49,7 @@ func (c *customCodeLoggingCommand) update(cmd *cobra.Command, args []string) err } else { updateCustomPluginRequest.SetDestinationSettings(cclv1.CclV1CustomCodeLoggingUpdateDestinationSettingsOneOf{ CclV1KafkaDestinationSettings: &cclv1.CclV1KafkaDestinationSettings{ + Kind: "Kafka", LogLevel: cclv1.PtrString(logLevel), }, })