Skip to content

Reduce verbosity of Async Job Manager log messages#3616

Merged
yadvr merged 1 commit into
apache:masterfrom
richardlawley:squelch-async-messages
Nov 11, 2019
Merged

Reduce verbosity of Async Job Manager log messages#3616
yadvr merged 1 commit into
apache:masterfrom
richardlawley:squelch-async-messages

Conversation

@richardlawley
Copy link
Copy Markdown
Contributor

Description

On a Cloudstack instance with log verbosity set to INFO, there are 2 messages generated every 10 seconds about cleaning up expired async jobs. This makes the log messages much noisier than they need to be.

image

This PR reduces that message to trace level, since there are actually useful messages at INFO level in that class.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

Check compilation and tests

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Oct 3, 2019

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-305

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

very good, I think these should be debug and as such hidden in production but for some reason we run in debug level in production :(

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Nov 11, 2019

Logging change, explicit full regression test not needed. Test against simulator/Travis is OK.

@yadvr yadvr merged commit a9b4da6 into apache:master Nov 11, 2019
ustcweizhou pushed a commit to ustcweizhou/cloudstack that referenced this pull request Feb 28, 2020
On a Cloudstack instance with log verbosity set to INFO, there are 2 messages generated every 10 seconds about cleaning up expired async jobs. This makes the log messages much noisier than they need to be.

This PR reduces that message to trace level, since there are actually useful messages at INFO level in that class.
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.

5 participants