Cisco Unified Application Environment Developer Forums

« Back to Developers

[Cuae-developers] Logging & DeviceListX questions

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,

I have few questions that i'd appreciate a response to:

1. Can't get logging to work: I've added bunch of log statements in
various actions in my applications. Logs are added at entry,default,exit
level and they are turned on (in a combination of Info & Verbose mode).
Somehow I can't get the server to spit these logs out. There's something
very simple I am missing but i am not sure what it is.

2. DeviceListX: I am making an AXL dip to get the deviceName
corresponding to given line/directory # (combination of executesql and
parse sql gets me the response and i added a customcode action to parse
the data). Once i get the deviceName, i need to pass it to
QueryByDeviceName action in DeviceListX. The question is, how can I
store the parsed data in a variable and then pass it along to the
querybydevice action? Second question is that the QueryByDevice returns
a DataTable, I am interested in the IP address of the device, how do I
traverse the data table to get that? I know how to traverse the table
but i don't know the column that contains the IP address.

Environment
=========
CUAD: 2.5
CUAE: 2.4.3

Ankur
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

Attachment not added (content type not allowed): "att1.html"

Ignore #1, got that to work.

Ankur

________________________________

From: cuae-developers-bounces@developer.cisco.com
mailto:cuae-developers-bounces@developer.cisco.com On Behalf Of Ankur
Shah (ankushah)
Sent: 2008-07-09 11:45
To: cuae-developers@developer.cisco.com
Subject: [Cuae-developers] Logging & DeviceListX questions

Hi,

I have few questions that i'd appreciate a response to:

1. Can't get logging to work: I've added bunch of log statements in
various actions in my applications. Logs are added at entry,default,exit
level and they are turned on (in a combination of Info & Verbose mode).
Somehow I can't get the server to spit these logs out. There's something
very simple I am missing but i am not sure what it is.

2. DeviceListX: I am making an AXL dip to get the deviceName
corresponding to given line/directory # (combination of executesql and
parse sql gets me the response and i added a customcode action to parse
the data). Once i get the deviceName, i need to pass it to
QueryByDeviceName action in DeviceListX. The question is, how can I
store the parsed data in a variable and then pass it along to the
querybydevice action? Second question is that the QueryByDevice returns
a DataTable, I am interested in the IP address of the device, how do I
traverse the data table to get that? I know how to traverse the table
but i don't know the column that contains the IP address.

Environment
=========
CUAD: 2.5
CUAE: 2.4.3

Ankur
_______________________________________________
Cuae-developers mailing list
Cuae-developers@developer.cisco.com

Attachment not added (content type not allowed): "att1.html"