For web services using the Java Oracle WebCenter Interaction Development Kit (IDK), the web.xml file is the standard way to configure log instrumentation.
The example below shows the logging settings only. The bulk of the web.xml file has been omitted; environment keys are inserted at the end according to the DTD.
<?xml version='1.0' encoding='ISO-8859-1'?> <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN 'http://java.sun.com/j2ee/dtds/web-app_2.2.dtd'> <web-app> ... <env-entry> <env-entry-name>ptedk.VerboseLogging</env-entry-name <env-entry-value>true</env-entry-value> <env-entry-type>java.lang.Boolean</env-entry-type> </env-entry> <env-entry> <env-entry-name>ptedk.LoggingApplicationName</env-entry-name> <env-entry-value>EDK</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>ptedk.LogToNetwork</env-entry-name> <env-entry-value>true</env-entry-value> <env-entry-type>java.lang.Boolean</env-entry-type> </env-entry> <web-app>