Environment Variables

The package uses environment variables to control the initialization procedure. The environment variables replace the system property entries used by Log4j.

For compability reasons the Log4j entry is recognised. Alternatively a environment variable style Log4Qt form can be used. The following entries are used:

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).

Generated on Sun Mar 1 16:40:45 2009 for Log4Qt by  doxygen 1.5.6