Syntax
logs (LDF1|LDF2|LDF3|LDF4|LDF5) [<COUNT>] [<INST_TARGETS> ...]
| Name | Description |
|---|---|
LDF1 to LDF5 |
The identifier of the logging file destination |
<COUNT> |
Option: The number of messages to retrieve |
<INST_TARGETS> |
Optional: The target instances of the command (instance ID or instance type) |
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 Core Server system.
The messages can include traces for advanced troubleshouting (debugging).
Note
Consult the SAP CC Log Message Reference documentation
to analyze the retrieved log and trace messages.
logs command retrieves a subset of the last log or trace messages
from the SAP CC Core Server system or from the specified instances of the 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.
metriclist
-
To get the daily numbers of business accounting transactions (charged items) generated
by the system and the number of subscriber accounts in master datadump
-
To display a thread dump related to one or multiple instances of the SAP CC systemConsult the SAP CC System Parameter Reference for more information about the system configuration of the logging and tracing functions.
| 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 |