Logging
QMWISe can produce two separate logs:
Each of these logs may either be disabled, or set to produce a level of information specified in the configuration settings.
The SOAP log
This logs the information passed to and from QMWISe by SOAP request, response, and fault messages. The configuration setting called SoapLogLevel is used to set the level of logging to one of the following:
- 0 - No logging
- 1 - Log SOAP fault messages only
- 2 - Log all SOAP requests and responses
Setting the SoapLogLevel to 2 is very useful while developing applications that use QMWISe because all communications with the QMWISe server are logged and can be analyzed.
Each log entry will have standard prefix showing the date and time, the Client ID the request was using, the IP address the request came from, and the name of the web service method called. For example:
01/23/09 10:39:51 & TrainingMgr & 168.192.1.99 & GetScheduleList
The trace log
This logs the success or failure of the web service methods that are requested by the client. The configuration setting called TraceLogLevel is used to set the level of logging to one of the following:
- 0 - No logging
- 1 - Errors only
- 2 - Summary of all activity
- 3 - Detailed trace of all activity
Each log entry will have the same standard prefix as in the SOAP log.