Previous Topic

Next Topic

Book Contents

Logging

P6 Web Services use the Java Logging API to handle log messages. Message levels that P6 Web Services log range from FINEST to SEVERE, in which FINEST logs the most messages and SEVERE logs the least messages. Additionally, there is a level ALL, which logs all messages; however, this setting could potentially impact performance.

You configure the logging level by specifying and then editing your own declared logging configuration file (see http://download.oracle.com/javase/) by adding or modifying the following lines:

com.primavera.integration.level = <level>

com.primavera.ws.level = <level>

Where <level> is one of the following values: FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, ALL, OFF. For example, to set the logging level to ALL, use the following:

com.primavera.integration.level = ALL

com.primavera.ws.level = ALL

Setting P6 Web Services Logging On and Off

By default P6 Web Services logging is turned off. You can turn P6 Web Services logging on by uncommenting the following line in the cxf.xml that is supplied in the default P6 Web Services server deployment.

<!-- <cxf:logging /> -->


Copyright information