Using the SAP Management Console (SAP MC) log viewing functions you can view system logs and trace files, and create stack traces for the processes.
The trace and log messages contain important information about system operation. It is helpful to check and analyze them if you experience errors or unexpected behavior.
Using the SAP Management Console (SAP MC) log viewing functions you can:
View all system log and trace files
View developer trace files
Create stack traces for the processes
Types of Log and Trace Files:
Instance developer trace and log files contain information about the startup process. You can check these files in case of errors or unexpected behavior during the startup process. The data from the last three restarts is retained by default.
The developer trace files of the Java instance are located in directory <Drive>:\usr\sap\ <SAPSID>\ <instance_name>\work (Windows) /usr/sap/ <SAPSID>/ <instance_name>/work (UNIX), where <SAPSID> is the system ID (for example, CE1) and <instance_name> is the instance name of the Java instance (for example, J03).
The developer trace files of the central services instance are located in directory <Drive>:\usr\sap\ <SAPSID>\ <instance_name>\work (Windows) /usr/sap/ <SAPSID>/ <instance_name>/work (UNIX) , where <SAPSID> is the SAP system ID (for example, CE1) and <instance_name> is the instance name of the central services instance (for example, SCS02).
AS Java logs
The log and trace files generated by the AS Java processes and the applications running on top of AS Java are stored in directory <Drive>:\usr\sap\ <SAPSID>\ <instance_name>\j2ee\cluster\server <n>\log (Windows) /usr/sap/ <SAPSID>/ <instance_name>/j2ee/cluster/server <n>/log (UNIX).
The resulting Java server stack trace is stored in the dev_server <n> file in directory <Drive>:\usr\sap\ <SAPSID>\ <instance_name>\work (Windows) /usr/sap/ <SAPSID>/ <instance_name>/work (UNIX).