wrapper.java.query.loglevel

Compatibility :3.5.55
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/Linux

Before launching the Java Application, the Wrapper will execute the java command a few times:

  • to query the Java version,
  • to query additional information (module, mainclass, etc.),
  • to check that the command line is valid (call with '--dry-run') - this call is only made with Java 9+.

By default, the Wrapper will log the command line and the output of each query at the DEBUG log level. This property allows you to change the log level to one of the following values:

  • FATAL to only show fatal error messages,
  • ERROR to show all error messages,
  • WARN to show all warning messages,
  • STATUS to show all state changes,
  • INFO shows all JVM output and informative messages,
  • DEBUG shows detailed debug information.

The default value is DEBUG.

Example (change the log level to INFO):
wrapper.java.query.loglevel=INFO
Example of output
INFO   | wrapper  | Java Command Line (Java Version):
INFO   | wrapper  |   Command: "C:\Program Files\Java\jdk-9.0.4\bin\java.exe" -version
INFO   | jvm ver. | java version "9.0.4"
INFO   | jvm ver. | Java(TM) SE Runtime Environment (build 9.0.4+11)
INFO   | jvm ver. | Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
INFO   | wrapper  | Java Command Line (Bootstrap):
INFO   | wrapper  |   Command: "C:\Program Files\Java\jdk-9.0.4\bin\java.exe" -classpath "./" --module-path "../lib" --upgrade-module-path "../lib/wrapper.jar" --add-modules org.tanukisoftware.wrapper,testmodule.standalone -Dfile.encoding=MS932 org.tanukisoftware.wrapper.bootstrap.WrapperBootstrap 1 org.tanukisoftware.wrapper.testmodule.standalone.Main 0
INFO   | jvm btsp | wrapper_version: 3.5.55
INFO   | jvm btsp | mainmodule: testmodule.standalone
INFO   | jvm btsp | package: org.tanukisoftware.wrapper.testmodule.standalone
INFO   | wrapper  | Java Command Line (Dry Run):
INFO   | wrapper  |   Command: "C:\Program Files\Java\jdk-9.0.4\bin\java.exe" --dry-run -Dfile.encoding=MS932 -Dsun.stdout.encoding=MS932 -Dsun.stderr.encoding=MS932 -Dwrapper.use_sun_encoding=true -Djava.library.path="../lib" -classpath "./" --module-path "../lib" --upgrade-module-path "../lib/wrapper.jar" --add-modules org.tanukisoftware.wrapper,testmodule.standalone --add-opens testmodule.standalone/org.tanukisoftware.wrapper.testmodule.standalone=org.tanukisoftware.wrapper -Dwrapper.key="RaJfvJ4EufTdbUyX8jxkqU33q_HKnWB-" -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=34740 -Dwrapper.version="3.5.55-pro" -Dwrapper.native_library="wrapper" -Dwrapper.arch="x86" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 -Dwrapper.lang.domain="wrapper" -Dwrapper.lang.folder="../lang" org.tanukisoftware.wrapper.WrapperSimpleApp org.tanukisoftware.wrapper.testmodule.standalone.Main