Introduce customizable installer logging

Description

Installers created by IzPack use Java Logging for writing log entries and stacktraces to the console. The built-in behavior cannot be overridden by passing neither the java.util.logging.config.file nor java.util.logging.config.class system properties to the JVM at command line level, which breaks the Java Logging API.

Make it possible to use either
-Djava.util.logging.config.file=<path>
or
-Djava.util.logging.config.class=<classname>
at command line level to be passed to the JVM for being able to override completely or partly

  • log handlers

  • log formatters

  • log levels

separately for package names like the Java Logging API defines.

Further allow to specify a log file on the installer command line and optionally configure it in install.xml.

Environment

None

Activity

Show:
René Krell
December 13, 2016, 10:52 AM

See also this discussion: https://groups.google.com/forum/?hl=cs#!topic/izpack-user/87fwTxSz3jA

René Krell
February 11, 2017, 12:56 AM

The new feature is documented in the new Logging wiki page.

René Krell
February 14, 2017, 1:04 PM

Adding possibility of recursively creating parent dirs of the log file (default:false) at compile time.

Fixed

Assignee

René Krell

Reporter

René Krell

Impact

None

Components

Sprint

None

Fix versions

Affects versions

Priority

High
Configure