Disconnecting from the Server

You disconnect from a server by issuing the disconnect command, as shown here.

wls:/wl_server/serverConfig> disconnect()
Disconnected from WebLogic Server: examplesServer
wls:/offline>

To exit from WLST, use the exit command:

wls:/offline> exit()

Exiting WebLogic Scripting Tool.

C:\MyOra\Middleware\wlserver_10.3\samples\domains\medrec >

By default, the server outputs all WLST messages or output to standard output, that is, to the screen. You can redirect all the messages to any file you wish by using the redirect command:

wls:/wl_server/serverConfig> redirect ('C:\MyOra\wlst.log')

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.