Skip to content

[Improvement][Log] optimize task log path to reduce task running time #6665

@lenboo

Description

@lenboo

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

the task log path :

/logs/definition-code_definition_version/processInstanceId/taskInstanceId.log

Every task would create a new directory at least.
It would cost too much if there are lots of task instances.

We can set the log path to

'/logs/YYYYMMDD/defintion-code_defintion_version-processInstanceId-taskInstanceId.log'

to reduce the task running time.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions