Web parameter: log.properties

Web parameters change the behavior of the web clients that connect to the web tier. You can set some of these parameters from the web client login URL, some from the web tier configuration file (web.xml), and some from both.

Parameter

log.properties

Description

This parameter defines the path to the web tier's logging properties file, which is a standard log4j logging properties file. You can use the logging properties file to define the default logging level, the logging level for specific web tier components, the path to the log file, and to specify what output formats and actions logging should take (such as, send an e-mail over SMTP, send the log file over FTP, or print the log file to the event viewer). See the log4j web site for more information on configuring this file.

Valid if set from

Web tier configuration file (web.xml)

Important: Unlike other Web Tier parameters, this parameter is an env-entry in the web.xml file. Certain application servers allow you to modify the values of environmental entries at deployment time. See your application server documentation for more information.

Requires restart of the web applications server?

No

Default value

/WEB-INF/log4j.properties

Possible values

Absolute path to logging properties file

Relative path to logging properties file

URL to logging properties file

Example usage

<env-entry>
  <description>Log4j configuration properties file location</description>
  <env-entry-name>log.properties</env-entry-name>
  <env-entry-value>/WEB-INF/log4j.properties</env-entry-value>
  <env-entry-type>java.lang.String</env-entry-type>
</env-entry>