Change in ovirt-engine[master]: backend: change exception log level to debug

Code Review gerrit at ovirt.org
Tue Aug 29 15:41:13 UTC 2017


>From Allon Mureinik <amureini at redhat.com>:

Allon Mureinik has submitted this change and it was merged. ( https://gerrit.ovirt.org/81159 )

Change subject: backend: change exception log level to debug
......................................................................


backend: change exception log level to debug

When the description of an unregistered disk is not in a JSON format, an
exception is thrown by
MetadataDiskDescriptionHandler::enrichDiskByJsonDescription.
This very long exception with its traceback is logged by
GetUnregisteredDiskQuery::executeQueryCommand in warning level, and
pollutes the log with unnecessary information for the average user.
Therefore, this log level was changed to debug, and a shorter and more
informative warning log was added instead.

Change-Id: Iee539cd3b45a975f08af77b571ab615193f5cab4
Bug-Url: https://bugzilla.redhat.com/1483401
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/image/GetUnregisteredDiskQuery.java
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Jenkins CI: Passed CI tests
  Maor Lipchuk: Looks good to me, approved
  Idan Shaby: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iee539cd3b45a975f08af77b571ab615193f5cab4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list