Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Dec 14, 2024
1 parent 6f433dc commit 0c09403
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/interpreter/activityImpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func StateApiWaitUntil(
stateApiWaitUntilStartTime := time.Now().UnixMilli()
provider := getActivityProviderByType(backendType)
logger := provider.GetLogger(ctx)
logger.Info("StateStartActivity", "input", log.ToJsonAndTruncateForLogging(input))
logger.Info("StateWaitUntilActivity", "input", log.ToJsonAndTruncateForLogging(input))
iwfWorkerBaseUrl := urlautofix.FixWorkerUrl(input.IwfWorkerUrl)

svcCfg := env.GetSharedConfig()
Expand Down Expand Up @@ -117,7 +117,7 @@ func StateApiExecute(
stateApiExecuteStartTime := time.Now().UnixMilli()
provider := getActivityProviderByType(backendType)
logger := provider.GetLogger(ctx)
logger.Info("StateDecideActivity", "input", log.ToJsonAndTruncateForLogging(input))
logger.Info("StateExecuteActivity", "input", log.ToJsonAndTruncateForLogging(input))

iwfWorkerBaseUrl := urlautofix.FixWorkerUrl(input.IwfWorkerUrl)
svcCfg := env.GetSharedConfig()
Expand Down Expand Up @@ -331,7 +331,7 @@ func DumpWorkflowInternal(
) (*iwfidl.WorkflowDumpResponse, error) {
provider := getActivityProviderByType(backendType)
logger := provider.GetLogger(ctx)
logger.Info("DumpWorkflowInternal", "input", log.ToJsonAndTruncateForLogging(req))
logger.Info("DumpWorkflowInternalActivity", "input", log.ToJsonAndTruncateForLogging(req))

svcCfg := env.GetSharedConfig()
apiAddress := svcCfg.GetApiServiceAddressWithDefault()
Expand Down Expand Up @@ -360,7 +360,7 @@ func InvokeWorkerRpc(
) (*InvokeRpcActivityOutput, error) {
provider := getActivityProviderByType(backendType)
logger := provider.GetLogger(ctx)
logger.Info("invoke worker RPC by activity", "input", log.ToJsonAndTruncateForLogging(req))
logger.Info("InvokeWorkerRpcActivity", "input", log.ToJsonAndTruncateForLogging(req))

apiMaxSeconds := env.GetSharedConfig().Api.MaxWaitSeconds

Expand Down

0 comments on commit 0c09403

Please sign in to comment.