Bug 903312 - Additional debug logging required within the GenericApiGWTServiceImpl class to ease troubleshooting of the webadmin / userportal.
Summary: Additional debug logging required within the GenericApiGWTServiceImpl class t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 3.2.0
Assignee: Alexander Wels
QA Contact: Jiri Belka
URL:
Whiteboard: ux
Depends On:
Blocks: 902971
TreeView+ depends on / blocked
 
Reported: 2013-01-23 17:18 UTC by Lee Yarwood
Modified: 2015-09-22 13:09 UTC (History)
9 users (show)

Fixed In Version: sf13.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 12559 0 None None None Never

Description Lee Yarwood 2013-01-23 17:18:18 UTC
Description of problem:

At present the GenericApiGWTServiceImpl class fails to log key information regarding the type of each query being made from a given client.

For example with DEBUG enabled we see lines like :

~~~
28097-2013-01-23 09:55:30,349 DEBUG [org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl] (ajp-/127.0.0.1:8702-1) Server: RunQuery invoked!
28098:2013-01-23 09:55:30,349 DEBUG [org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl] (ajp-/127.0.0.1:8702-1) IP [10.30.1.107], Session ID [bBZFi0UO5BB-wtc042UfYMGa]
~~~

It would be helpful if more details were logged here.

Version-Release number of selected component (if applicable):
3.1.1

How reproducible:
Always

Steps to Reproduce:
1. Enable DEBUG messages.
2. Monitor engine.log
  
Actual results:
Lack of key information such as query type etc.

Expected results:
Key information exposed when DEBUG messages are enabled.

Additional info:

Comment 1 Einav Cohen 2013-02-06 14:02:38 UTC
Need to specify the VdcQueryType in the message.

Also:

- In case VdcQueryType = GetConfigurationValue, need to specify in the message also the configuration-value and version that were requested.

- In case VdcQueryType = Search, need to specify in the message also the search-text requested.

Comment 4 Jiri Belka 2013-04-23 12:51:43 UTC
OK, sf13.1. I can see lines like:

2013-04-23 14:47:46,875 DEBUG [org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl] (ajp-/127.0.0.1:8702-4) Query type: GetAllBookmarks, Parameters: refresh: true, filtered: false

Comment 5 Itamar Heim 2013-06-11 08:36:54 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 08:36:55 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 08:36:57 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 08:45:19 UTC
3.2 has been released


Note You need to log in before you can comment on or make changes to this bug.