on 07-19-2007 1:04 PM
Hi all,
I got an error when invoking a web service, and then I followed wiki faq to trace the request/response of the web service call.
<i>
You must first switch on logging to create a request / response log for a call. This should only be done for problem analysis purposes.</i>
if (logger.beDebug()) {
requestMO.wdSetInvocationLogEnabled(true);
}
My question is how to switch on logging?
Thanks!
Regards,
Hui
Hi Hui,
use this code before executing the model.
logger is already available in ur view & controllers.
<ur request model>.wdSetInvocationLogEnabled(logger.beDebug() ? true : false);
regards
Sumit
Message was edited by:
Sumit Malhotra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this:
1. Log on to the Visual Administrator. In the Cluster window expand the "<i>Services</i>" node and select "<i>Log Configurator</i>".
2. In the window that opens, click the "<i>Location</i>" tab, and click "<i>To Advanced Mode"</i>.
3. Make sure that "<i>ROOT LOCATION</i>" is selected and check the Severity level there.
4. On the window to the right, you can set the Severity level to Debug. Then click "<i>Copy severity to subtree</i>".
5. Click Save.
Regards,
Satyajit.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.