Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute nameDescriptionAllowed valuesDefault

pattern

Pattern for generating the output file name.
See the FileHandler API for details on how a pattern can be designed.
IzPack variables are resolved.
The parent directory of the log file must exist, otherwise the installer will fail.
The log file will be created automatically if it doesn't exist at the time the first log entry should be written.

Valid path to log file name.
The file name is normalized as much as possible. 
%h/java%u.log
levelSpecifies the logging level.
In general there are logged just messages with the same or higher priority than the level specified.
The level SEVERE has the highest priority, FINEST the lowest one. 

SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST

INFO
filterSpecifies the name of a Filter class to use (defaults to no Filter).Fully qualified Java class name.(no filter)
encodingThe name of the character set encoding to use.Valid Java character set name.
Example: like UTF-8
(platform encoding)
limitSpecifies an approximate maximum amount to write (in bytes) to any one file.
If this is zero, then there is no limit.
Integer value >= 0(no limit)
countSpecifies how many output files to cycle through.
This allows you to maintain a limited number of log file archives with a maximum size specified by the limit attribute (rolling log files). 
Integer value >= 11
appendSpecifies whether the FileHandler should append onto any existing files.true | falsefalse
mkdirs

Specifies whether the installer should recursively create the parent directory of the log file speciified by the pattern attribute.

Info

This attribute is not part of the FileHandler API and is hidden to the FileHandler configuration. IzPack handles it before creating the according FileHandler-based Java Logger gets activated.

true | falsefalse

Alternatively, to savor the full flavour of Java Logging there can be passed a configuration properties file. This allows the user to define his/her own set of handlers and formatters on different Java package levels. For example there might be used different log files for IZPack and for a business implementation plugging in to IzPack.

...