Skip to content

change getBacklogQuota exception log level from error to warn - #8199

Merged
codelipenghui merged 1 commit into
apache:masterfrom
hangc0276:change_getBacklogQuota_exception_log_level
Oct 9, 2020
Merged

change getBacklogQuota exception log level from error to warn#8199
codelipenghui merged 1 commit into
apache:masterfrom
hangc0276:change_getBacklogQuota_exception_log_level

Conversation

@hangc0276

Copy link
Copy Markdown
Contributor

Motivation

In production env, we will monitor Pulsar broker log level and alert when encountered error log. However, when getBacklogQuota failed from topic policy or namespace policy, it will report error level logs and get default backlog quota. We should change the exception log level from error to warn to avoid unnecessary alert.

Changes

  1. change getBacklogQuota exception log level from error to warn.

@codelipenghui
codelipenghui requested review from jiazhai and sijie October 4, 2020 12:53
@codelipenghui codelipenghui added this to the 2.7.0 milestone Oct 4, 2020
@hangc0276

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

4 similar comments
@hangc0276

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@hangc0276

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@hangc0276

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@hangc0276

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui
codelipenghui merged commit 41fb70f into apache:master Oct 9, 2020
wolfstudy pushed a commit that referenced this pull request Oct 30, 2020
### Motivation
In production env, we will monitor Pulsar broker log level and alert when encountered error log. However, when getBacklogQuota failed from topic policy or namespace policy, it will report error level logs and get default backlog quota. We should change the exception log level from error to warn to avoid unnecessary alert.

### Changes
1. change getBacklogQuota exception log level from error to warn.

(cherry picked from commit 41fb70f)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Nov 13, 2020
…#8199)

### Motivation
In production env, we will monitor Pulsar broker log level and alert when encountered error log. However, when getBacklogQuota failed from topic policy or namespace policy, it will report error level logs and get default backlog quota. We should change the exception log level from error to warn to avoid unnecessary alert.

### Changes
1. change getBacklogQuota exception log level from error to warn.
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.

2 participants