wrapper.environment.dump.loglevel |
||||||||||
It is sometimes useful to dump all of the environment variables visible to the Wrapper, along with where the values originated. This property controls the log level at which this dump will be logged. The default value is DEBUG, meaning that it will be included in debug output. It is fairly common that users have problems with their environment not being what was expected. This property can be very powerful in helping to track down the source of such problems. When running as a service on Windows XP or Windows Server 2003, the Wrapper will load all declared system-wide environment variables stored in the registry when the Wrapper is first started. If the USERNAME environment variable is defined, the Wrapper will then load the environment for that user from the registry as well. This is done to make it possible to make changes to the configured environment and then make use of them without requiring a system reboot. Originally, this reloading of the registries was done on all Windows versions. Since Wrapper version 3.5.5, this was disabled for Windows XP/Server 2003 and above. In Wrapper version 3.5.16, the reloading was re-enabled for Windows XP and Server 2003, but left disabled for more recent versions of Windows where it is no longer necessary. On UNIX, it is common for the Wrapper to have close to an empty environment when launched on system startup.
The debug output starts with a source column which shows where the environment was set. The values, left-to-right, show the order of the sources from which they can be set. The final value will be used.
The following is an example of the environment output when run on Windows as a specified user. Note that some of the variables are configured by the system, others by the Wrapper, or Wrapper configuration, and yet others are loaded from the registry both for the SYSTEM user and configured account.
NOTE
Since Wrapper version 3.5.36 the dump of environment variables
can occur each time the configuration is reloaded if wrapper. |
wrapper.environment.dump |
||||||
WARNING
Use of this property has been deprecated
as of Wrapper version 3.5.36 in favor of the
wrapper. |