Commit 17290af8 authored by Cloud User's avatar Cloud User

io log

parent f8710dfb
......@@ -1197,9 +1197,16 @@ func ApiOrJWT(c *fiber.Ctx) error {
msgToKafkaAttributes := []slog.Attr{
slog.String("TaskId", pbMsg.TaskId),
slog.Uint64("TaskType", pbMsg.TaskType),
slog.Int("TaskType", int(pbMsg.TaskKind)),
slog.Int("TaskKind", int(pbMsg.TaskKind)),
slog.String("TaskCmd", pbMsg.TaskCmd),
slog.String("TaskParam", string(pbMsg.TaskParam)),
slog.String("TaskTimestamp", string(pbMsg.TaskTimestamp)),
slog.String("TaskCallback", pbMsg.TaskCallback),
slog.String("TaskUid", pbMsg.TaskUid),
slog.String("TaskFee", pbMsg.TaskFee),
slog.Int("TaskInLen", int(pbMsg.TaskInLen)),
slog.Int64("TaskWorkload", pbMsg.TaskWorkload),
slog.Int("ContainerPubkey Len", len(pbMsg.ContainerPubkey)),
}
kafkaattributes := append(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment