The primary log configuration is managed in
portal-log4j.xml, which is packed inside the portal
application file
WEB-INF/lib/portal-impl.jar.
To override settings in
portal-log4j.xml, you use the file
portal-log4j-ext.xml, which is located in the portal
application's
/WEB-INF/classes/META-INF/ directory.
Both files are in the standard log4j XML configuration format, and allow
you to:
- Create and modify appenders
- Bind appenders to loggers
- Adjust the log verbosity of
different classes/packages
By default,
portal-log4j-ext.xml specifies a log verbosity of
INFO for the following packages:
- com.endeca
- com.endeca.portal.metadata
- com.endeca.portal.instrumentation
It does not override any of the default log verbosity settings for
non-Information Discovery components.
Note: If you adjust the logging verbosity, it is updated for both log4j
and the Java Utility Logging Implementation (JULI). Code using either of these
loggers should respect this configuration.