Each properties file contains properties for one or more
message loggers. The isLogging property specifies
Whether message logs are enabled.
To turn on logging for a specific message logger, use:
baseGroup.PDJapp_nameMessageLogger.isLogging=true
To disable logging for a specific message logger, use:
Associated with each message logger is at least one file handler.
A file handler specifies the destination for messages. After message
logs are enabled by the message logger, the file handler properties
are examined to determine whether to log messages, and if so, how
and where. The properties associated with a file handler
are:
Fully qualified file name to be used as the base
name for message log files. The file can be in any location accessible
by the Java™ application.
maxFileSize
Specifies the maximum size, in kilobytes, of each message log file. Default
is 512.
maxFiles
Specifies the maximum number of files to be used for message logs. Default is 3.
To specify what classes of messages to log, use the MessageAllMaskFilter.mask property
as illustrated in Figure 1. Figure 1. Specifying what messages to log in a properties file