Within the SAP Management Console perspective you can change
the log configuration of the AS Java server for one instance or the entire system.
Prerequisites
-
You have opened the
SAP Management Console perspective in the SAP NetWeaver Developer Studio (Developer Studio).
-
You have registered the system.
-
The short host name of the server must be resolvable in the domain.
-
There is a direct connection (no fire wall/proxy) to the AS Java server host.
-
You have an account with the role "Administrator" on the AS Java server. Typically these are the accounts
Administrator (in a Java system) or
J2EE_ADMIN (in a dual-stack system).
Context
Changing the log configuration might be useful to trace the behavior of an application
or to track down an error within the server. Within the SAP Management
Console perspective it is only possible to change the severity for
locations and categories, not the destination and the size of the log files.
Procedure
- Proceed as follows to change the severity for one or more categories and locations:
- Navigate to the AS Java node in the navigation
tree.
- Expand the Log Config node.
A logon dialog displays.
- Provide the credentials for your account. If you select Remember
User Name and Password , your credentials are stored encrypted
in the secure storage on disk. If your system supports SSL-encrypted
communication to the AS Java server, you can use this option by checking
Secure Connection.
The progress bar in the lower right corner indicates that the configuration
is retrieved from the server. After all the data has been read, the tree
displays two additional nodes:
- Navigate to the Categories or
Locations node. Select Apply for
sub-tree to change the severity for a category or location, or
for all of their children.
- Save your changes with Apply befor selecting another
node.
- Proceed as follows to reset the log configuration:
For most of the categories and locations, appropriate default values are stored
within the system.
- To activate the defaults, select the Log Config node
and choose Reset.
- Proceed as follows to determin high log severities:
Sometimes the system slows down due to a high volume of log messages written to
the file system. The SAP Management Console perspective's
log locations that have a severity level above Error are
highlighted with a warning symbol, and above the severity level
Path with an error symbol. Categories with a severity
level above Info are highlighted with a warning symbol, and
above the severity level Path with the error symbol.
- Navigate to the locations and categories that might be causing the
problem.
The severity levels are displayed in the following order:
-
None
-
Fatal
-
Error
-
Warning
-
Info
-
Path
-
Debug
-
All