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

Code Review gerrit at ovirt.org
Tue Aug 29 16:12:06 UTC 2017


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged. ( https://gerrit.ovirt.org/81181 )

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/1486293
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:
  Tal Nisan: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iee539cd3b45a975f08af77b571ab615193f5cab4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez 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