Log policy commands
Log policy mode provides the commands to specify a log policy.
This policy is not supported in IBM® Cloud. Any assembly that includes this policy fails.
To enter the mode, use the global assembly-log command. To delete a log policy, use the global no assembly-log command.
While in this mode, use the commands in the following table to define the log policy.
- To view the current configuration, use the show command.
- To restore default values, use the reset command.
- To exit this configuration mode without saving changes to the running configuration, use the cancel command.
- To exit this configuration mode and save changes to the running configuration, use the exit command.
| Command | Purpose |
|---|---|
| admin-state | This command sets the administrative state for the configuration. |
| correlation-path | This command specifies the part of the API definition that correlates with the policy. |
| log-level | This command specifies the type of content to log. |
| mode | This command specifies how the log policy manages transaction data. |
| recount-bytes | This command indicates whether to recount the bytes of the response
payload if this value is different from the value of the Content-Length
header. |
| summary | This command specifies the brief, descriptive summary for the object instance. |
| title | This command specifies the title for the configuration. |