Skip to content

[INLONG-8294][DataProxy] Optimize the log output in the Sink module#8295

Merged
gosonzhang merged 1 commit intoapache:masterfrom
gosonzhang:INLONG-8294
Jun 21, 2023
Merged

[INLONG-8294][DataProxy] Optimize the log output in the Sink module#8295
gosonzhang merged 1 commit intoapache:masterfrom
gosonzhang:INLONG-8294

Conversation

@gosonzhang
Copy link
Contributor

Modifications:

  1. Adjust the scope of the log object in the class from Public to private or protected;
  2. Modify the log output content, add the Sink object name, and additional prompt information to facilitate the location and search of problem logs
  3. Adjust the reference and operation of the dispatchQueue object, concentrate the object in the MessageQueueZoneSink class and encapsulate it with functions to avoid missing operations;
  4. Remove the unused reloadTimer implementation in the SinkContext class;
  5. Adjust the variable settings of related classes and add parameter setting instructions according to the IDE prompts

Copy link
Contributor

@luchunliang luchunliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gosonzhang gosonzhang merged commit 0936f81 into apache:master Jun 21, 2023
@gosonzhang gosonzhang deleted the INLONG-8294 branch June 21, 2023 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improve][DataProxy] Optimize the log output in the Sink module

3 participants