I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
However, my WLST shell is not recognizing the commands and giving me the NameError!
Traceback (innermost last):
File "<console>", line 1, in ?
I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
- Launched the WLST shell from Oracle Home.
- Tried to run the listLogs command from domainRuntime()
I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
There is no SOA Suite installed.
Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
Thanks for the reply Pierluigi,
I don't have SOA Suite installed on my machine. My organization doesn't required entire SOA suite but just the OSB application in the suite installed on Weblogic Server.
I'm just wondering if there is any way I can download just the additional wlst capabilities of SOA suite and use them.
Are the libraries used by wlst in SOA Suite available for download?
This error show up if WLST command is executed from an incorrect location. For example:
you need to make sure that you launch the WLST command from IDM Home. For example, use the one under <Middleware>\Oracle_IDM1\common\bin
( on my Windows installation it's D:\Oracle\Middleware\oracle_common\common\bin)
I have a problem to redirect the output of displayLogs command to text file. I have tried redirect but how doesn't work
Is anybody know how to send the output of this command to the text file?