Syntax
logs (LDF1|LDF2|LDF3|LDF4|LDF5) [<COUNT> [<INST_TARGETS>...]]
[<INST_TARGETS> ...]
| Name | Description |
|---|---|
LDF1 to LDF5 |
The identifier of the logging file destination |
<COUNT> |
Optional: The number of messages to retrieve. |
<INST_TARGETS> |
Optional: The target instances of the SAP CC system (instance IDs or instance types). |
The
The number of messages to be retrieved must be set as an argument. If no count
is entered, the
The detailed content and format of the messages depend on the configuration of the
SAP CC BART Server system.
The messages may include traces for advanced troubleshouting (debugging).
Note
Consult the SAP CC Log Message Reference to analyze the retrieved log and trace messages.
logs command retrieves a subset of the last log or trace messages
from the SAP CC BART Server system.
logs command returns the last 50 messages.
To work with this command in the user interface, you must have a specific role in your SAP CC user profile.
Refer to the SAP CC 5.0 Security Guide for more user assistance and information about the necessary authorizations.
dump
-
To view the thread dump of the SAP CC BART Server system. When enabled, it records
a thread dump file associated to this command execution.Troubleshooting: SAP CC Log Message Reference end Error Troubleshooting (SAP Site)
Technical operations: SAP CC 5.0 Operations Guide
System configuration: SAP CC 5.0 Configuration Guide and SAP CC System Parameter Reference (SAP Site)
Concept and features: SAP CC 5.0 Application Help
| Code | Message | Action |
|---|---|---|
| err.bad_targets | Error: Bad target: {target}. | |
| err.invalid_destination | Error: The identifier of the logging file destination is invalid. | |
| err.invalid_max_count | Error: Invalid count: {}. | |
| no.logs | Error: The SAP CC system or system instance does not write its logs to a file. | |
| logs | The {number} last messages are: | |
| zero.log | No logs available |