settings

This command configures debug recording settings and logging of HTTP requests and responses received from HTTP clients.

Syntax

(config-troubleshoot)# logging settings
(logging-settings)# 

Command

Description

dbg-rec-blob-account-key

Defines the SAS token key of the Azure Blob storage container for storing debug recording files.

Note: This parameter is applicable only to Mediant 90xx and Mediant Software.

dbg-rec-blob-container

Defines the name of the Azure Blob storage container for storing debug recording files.

Note: This parameter is applicable only to Mediant 90xx and Mediant Software.

dbg-rec-blob-storage-url

Defines the URL of the Azure Blob storage account for storing debug recording files.

Note: This parameter is applicable only to Mediant 90xx and Mediant Software.

dbg-rec-dest-ip

Defines the destination IP address for debug recording.

dbg-rec-dest-port

Defines the destination UDP port for debug recording.

dbg-rec-int-name

Defines the IP Interface through which the device sends captured traffic to the debug server.

dbg-rec-ip-trace-entity {all-physical-ports| group|physical-port| vlan-id}

Defines the filtering of IP traces for log filtering rules (in the Logging Filters table) whose 'Filter Type' parameter is configured to IP Trace.

dbg-rec-ip-trace-eth-group

Filters IP traces by a specific Ethernet Group.

dbg-rec-ip-trace-phy-port

Filters IP traces by a specific Ethernet port.

dbg-rec-ip-trace-vlan-id

Filters IP traces by a specific VLAN ID.

dbg-rec-status {start|stop|timer-restart}

Displays current debug recording status (Started or Stopped), starts or stops debug recording, and resets the debug recording duration.

dbg-rec-timeout

Defines the maximum duration (in minutes) of the debug recording process, after which it automatically stops.

dbg-rec-local-storage {disable|enable}

Enables local storage of debug recording files.

dbg-rec-local-storage-file-size

Defines the maximum size (in megabytes) of the debug recording file (compressed) for local storage.

dbg-rec-local-storage-files-count

Defines the maximum number of debug recording files that can be stored locally.

dbg-rec-local-storage-filename-prefix

Defines a prefix for the debug recording file name.

dbg-rec-local-storage-location {local-disk|azure-blob}

Defines the type of storage for debug recording files.

dbg-rec-local-storage-mode {cyclic|non-cyclic}

Defines the file creation method when the number of maximum files is reached (as configured by the 'Number of Files' parameter), for local storage.

dbg-rec-local-storage-recording {off|on}

Starts debug recording file creation and local storage.

dbg-rec-local-storage-rotation-period

Defines the periodic duration (in minutes) of how often a debug recording file is created from the Current file (even if empty), for local storage.

enable-http-client-dbg-msg {off|on}

Enables the device to log (syslog) HTTP requests and responses (like CURL's verbose data) received from HTTP clients.

http-log-filter

Defines the HTTP clients whose requests and responses you want the device to log, based on the presence of specific strings within their URLs.

Command Mode

Privileged User

Example

This example configures the debug recoding server at 10.13.28.10 and starts the recording:

(config-troubleshoot)# logging settings
(logging-settings)# dbg-rec-dest-ip 10.13.28.10
(logging-settings)# dbg-rec-status start