https://ibmwasonlinetraining.blogspot.com/2015/07/log-files-and-path-location.html
IBM WAS Log Files
By using IBM WebSphere
Application Server (WAS) we can create the following log files trace.log, SystemOut.log,
and SystemErr.log, activity.log, StartServer.log, stopServer.log, native_stdout.log,
native_stderr.log. The detail discussion of above mentioned log files is below:
Process Logs: WAS processes contain two output streams stdout and stderr which are accessible to native code running in the process. Native code, including JVM, might write data to these process streams. In addition, System.out and System.err streams of JVM can be configured to write their data to these streams also. The default files used for writing these logs are native_stdout.log, native_stderr.log
IBM Service Logs: The default file used for these logs is activity.log. These logs maintain a history of activities of the WebSphere Application Server. The IBM Service log is maintained in a binary format can be viewed by Log and Trace Analyzer.
Diagnostic
Trace Service logs: Contains all output of System.out and
System.err streams of the JVM for the application server process and other
details. These can be used for the Diagnostic purpose. The default file used to
capture the logs is trace.log . Location (given below) and Name of the file can
be changed.
Java
virtual machine (JVM) logs: Contains Standard JVM output and
error log. The JVM logs are created by redirecting the System.out and
System.err streams of the JVM to independent log filesSystemOut.log and
SystemErr.log respectively. These files contain the output of the System.out
and System.err streams for the application server process. The data is written
by the user program using the statement System.out.println(),
System.err.print() and calling a JVM function, such as
Exception.printStackTrace(). The System.out JVM log also contains system messages
(message events) written by the application server. The default file names
(SystemOut.log and SystemErr.log) and location (given below) can be changed.
StartServer.log
and stopServer.log: Logs generated during application
Server's start & stop process are captured in these log files.
Path Location:
The default location
for storing all log files except activity.log of WebSphere Application Server
is as follows:
For
standalone server:
Linux:
/opt/IBM/WebSphere/AppServer/profiles/default/logs/server1
Windows:
drive:\Program
Files\IBM\WebSphere\AppServer\profiles\default\logs\server1 where default is
the profile name and server1 is servername.
For
a managed Node:
Linux:
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01_nodename/logs/nodename
Windows:
drive:\Program
Files\IBM\WebSphere\AppServer\profiles\AppSrv01_nodename\logs\nodename
Location
for storing activity.log in standalone server:
In Linux/opt/IBM/WebSphere/AppServer/profiles/default/logs
,
In Windows:
drive:\Program Files\IBM\WebSphere\AppServer\profiles\default\logs
Note:
The default size for all log files except activity.log file is 1 mb. For activity.log,
default size is 2 mb can be changed. The location, file size, name can be
changed using IBM admin console.
Connect Us