VMware Cloud Community
PrakTechWorld
Contributor
Contributor

vSphere Web-Client log location

Hi All,

I am new to programming of Vsphere web client application.
Currently I am facing problem in redirecting the  log from MXML or action script file to any log file.

I was going through the  "vsphere webclient extention programming guide" and  came across a section

[Event(name="{com.vmware.data.query.events.DataByConstraintRequest.REQUEST_ID}",

type="com.vmware.data.query.events.DataByConstraintRequest")]

public class MyDataViewMediator extends EventDispatcher {

// Skip request method; show only response method.

[ResponseHandler(name="{com.vmware.data.query.events.DataByConstraintRequest.RESPONSE_ID}")]

public function onDataRetrieved(request:DataByConstraintRequest,

result:ArrayCollection,

error:Error):void {

if (error != null) {

_logger.debug(“onDataRetrieved error: “ + error.message);

return;

}

// Valid result has been received.

_view.datastoreItems = result;

}

}

I just wanted to know that the debug log mentioned in the line 10 of the above code will get logged into which file.

I am not able to get at which file the log in action script will get stored.

Do I have to enable any kind of setting for it.

Please help me in solving this issue.

I am using this code on vSphere 6.0 linux appliance.

Thank you

Prakash

Tags (2)
Reply
0 Kudos
0 Replies