For compability reasons the Log4j entry is recognised. Alternatively a environment variable style Log4Qt form can be used. The following entries are used:
false
the initialization procedure is skipped.
Environment variables are read during static initialisation on creation of the InitialisationHelper. They can be accessed by calling InitialisationHelper::environmentSettings().
All settings can also be made in the application settings under the group Log4Qt
. For example the environment variable LOG4QT_DEBUG
is equivalent to the setting Log4Qt/Debug
. If an environment variable is set it takes precedence over the application setting. Settings are only used, if an QApplication object is available, when the LogManager is initialised (see InitialisationHelper::setting() for details).