From Dan Kenigsberg <[email protected]>:

Dan Kenigsberg has submitted this change and it was merged.

Change subject: MOM: Reduce log messages when MOM unavailable
......................................................................


MOM: Reduce log messages when MOM unavailable

When MOM is not available the log gets cluttered with messages.
This patch utilizes the throttledlog module to display the messages
once every 100 calls instead of every time the methods are called.

Change-Id: I0af0d3dc694d16fae791bb5af2feb5c7b6deeb23
Bug-Url: https://bugzilla.redhat.com/1437341
Signed-off-by: Jenny Tokar <[email protected]>
---
M lib/vdsm/momIF.py
M lib/vdsm/throttledlog.py
M tests/throttledlog_test.py
3 files changed, 20 insertions(+), 2 deletions(-)

Approvals:
  Denis Chaplygin: Looks good to me, but someone else must approve
  Martin Sivák: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Looks good to me, but someone else must approve
  Jenny Tokar: Verified



-- 
To view, visit https://gerrit.ovirt.org/75681
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0af0d3dc694d16fae791bb5af2feb5c7b6deeb23
Gerrit-PatchSet: 7
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Jenny Tokar <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Andrej Krejcir <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Denis Chaplygin <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Jenny Tokar <[email protected]>
Gerrit-Reviewer: Martin Sivák <[email protected]>
Gerrit-Reviewer: Phillip Bailey <[email protected]>
Gerrit-Reviewer: Roman Mohr <[email protected]>
Gerrit-Reviewer: Yanir Quinn <[email protected]>
Gerrit-Reviewer: gerrit-hooks <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to