AquaLogic User Interaction Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Configuring Java IDK Logging (web.xml)

For web services using the Java 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> 

  Back to Top      Previous Next