Skip to content

[Improvement][MasterServer] master task logger improvement #7414

@caishunfeng

Description

@caishunfeng

Search before asking

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

Description

I found that master will create logger for every task, but it is synchronized when get logger and do append, which have a big impact on performance.
So I think we can add a logger switch for it, default open, and it will create task logger and append task log.
If we turn off the logger switch, it will append to the master log.

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions