Configuring Log Analysis Data Sources
To configure the log analysis data source
1. Log on as an administrator on My webMethods Server.
2. In My webMethods Server: Tools > MWS Monitoring and Diagnostics > Log Tracing and Analysis.
3. Locate the Log Analysis Datasource tool and drag it onto the workspace.
4. Choose one of the following options:
To use and analyze the default
errors.log file of your
My webMethods Server instance, choose the corresponding entry on the
Select Log File list and click
Apply without uploading other files.
To use and analyze an external log file that is available on the local file system, click
Choose File, browse to the required log file, and click
Upload. Select the file name in the
Select Log File list, then click
Apply.
If you upload a proper log file, the tool adds it to the Select Log File list so you can select and analyze it. The tool analyzes the errors.log file of My webMethods Server which is an XML file created in accordance with the log4j mechanism.
If several log files are contained in a zip archive, you can upload the archive. The tool examines the log files in the zip file and displays them. The tool does not examine plain text log files.
You can use this feature with archives created by the envcapture command line tool. For more information, see
envcapture.
5. On the Select Log File list, choose the log file which you want to analyze.
You can switch between several log data sources by selecting one of them and clicking Apply. All log analysis portlets which you opened on the workspace refresh their content and display the information from the selected data source. You can use this technique to compare two or more snapshots of My webMethods Server logs.
6. Click Apply.