Table of Contents

WLST - Diagnostic

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

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