Java Web Mapping Application Template Logging

When using the Java Web Mapping Application template (created using Manager or Eclipse) the logging level of the application is specified in the web.xml file located under the WEB-INF directory.

  <context-param> 

    <param-name>com.esri.adf.LOG_LEVEL</param-name> 

    <param-value>SEVERE</param-value> 

  </context-param>

You can specify a different logging level by modifying the default value of “SEVERE” with any of the following values : ALL, FINE, FINER, CONFIG, SEVERE or OFF

Here is a brief explanation of each level :

FINE, FINER – Fine grained informational events that are useful to debug an application.
CONFIG – Informational messages that highlight the progress of the application at coarse-grained level.
SEVERE– Shows events that might still allow the application to continue running but is important to fix
FATAL – Very severe error events that will presumably lead the application to abort.
ALL – lowest rank and is intended to turn on all logging.
OFF – highest rank and is intended to turn off logging.

Advertisements

2 Responses to “Java Web Mapping Application Template Logging”

  1. Mark Says:

    Great post! keep it coming. Never looked into web.xml file to find the logging options. Its quite surprising to see that template provides so much stuff. Wish the docs had this.

  2. hashemi Says:

    i want to start esri Web Mapping Application in jbuilder 2006. what am i doing?


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: