My webMethods Server 10.15 | My webMethods Server Webhelp | Diagnosing My webMethods Server | Using My webMethods Server Command Line Tools | Log4j
 
Log4j
My webMethods Server and its diagnostic tools use the Apache log4j open source API for logging, formatting, and adding log statements from the server and diagnostic commands. The log4j file and the tool are configured to save the results in log, XML, and zip files in the directory where you started the diagnostic tool.
The diagnostics tools use the log4j.xml configuration file to save and format results in diagnostics and error logs.
The log4j.xml file is located in the following directory:
Software AG_directory\MWS\tools\diagnostics\config\log4j.xml.
The following command-line tools use the log4j.xml file to configure the output.
*The threaddump tool reports results in the diagnostics.log file.
*The envcapture tool reports results in the diagnostic.log file.
The following command line tools use the log4j mechanism:
* envcapture
* loganalyzer
* threaddump