WLST - Diagnostic

Card Puncher Data Processing

Redirecting Error and Debug Output to a File

To redirect WLST information, error, and debug messages from standard out to a file, enter:

redirect(outputFile,[toStdOut])
stopRedirect() 

Logger

How to enable logger when using wlst command, such as migrateSecurityStore

  • Coppy a logging.propertie file from a Java installation to WLST_HOME\wlserver_10.3\common\bin
  • Modify: WLST_HOME\wlserver_10.3\common\bin\wlst.cmd in order to add the -Djava.util.logging.config.file argument.
SET JVM_ARGS=-Dprod.props.file="%WL_HOME%\.product.properties" %WLST_PROPERTIES% %MEM_ARGS% %CONFIG_JVM_ARGS% -Djava.util.logging.config.file=%~dp0\logging.properties

More: Java - java.util.logging (JUL) or JDK logging

Documentation / Reference







Share this page:
Follow us:
Task Runner