Changing Log Levels for Engines and Data Sources
You can configure log levels for index engines and data sources using configuration files.
The configuration files that control logging technical information are:
- %MINDSERVER_PROJECTS%/<engine or data source name>/Config/log4j.server
- %MINDSERVER_PROJECTS%/<engine or data source name>/Config/log4j.other
Log levels must be changed in two places in each configuration file:
- rootLogger
- The root logger determines which messages are considered for logging. It defines defines the maximum log level for all appenders, and it defines the appenders that exist. The first parameter in the rootLogger configuration line defines the log level.
- Example:
log4j.rootLogger=info, stdout, message
. - The threshold of the appender
- Appenders do the actual writing operations. For example, you can configure the file appender that writes logging information to a specific file.
- Example:
log4j.appender.message.threshold=warn
- The appender threshold parameters determine the log levels for this
appender. The default setting is
WARN
, but you may raise this level toINFO
or evenDEBUG
.