Overview of Device Ports-Logging

The SLC products support port buffering of the data on the system's device ports. Port logging is disabled by default.

Local Logging

If local logging is enabled, each device port stores 256 KB (approximately 400 screens) of I/O data in a true FIFO buffer. You may view this data (in ASCII format) at the CLI with the show locallog command, or through the CIFS share by viewing the text file containing the contents of the FIFO buffer. The file containing the buffer is named <Device Port Number>_<Device Port Name>.log. (For more information about the CIFS share, see NFS and SMB/CIFS.) You clear the port buffer with the set locallog clear command.

Note:  Local logging and NFS file logging cannot be enabled simultaneously.

NFS File Logging

Data can be logged to a file on a remote NFS server. Data logged locally to the SLC is limited to 256KB and may be lost in the event of a power loss. Data logged to a file on an NFS server does not have these limitations. The system administrator can define the directory for saving logged data on a port-by-port basis and configure file size and number of files per port.

The directory path must be the local directory for one of the NFS mounts (see NFS and SMB/CIFS on page 38). For each logging file, once the file size reaches the maximum, a new file opens for logging. Once the number of files reaches the maximum, the oldest file is overwritten. The file naming convention is: <Device Port Number>_<Device Port Name>_<File number>.log.

Examples are:

02_Port-2_1.log

02_Port-2_2.log

02_Port-2_3.log

02_Port-2_4.log

02_Port-2_5.log

PC Card Logging

Data can be logged to a PC Card Compact Flash that is loaded into one of the PC Card slots on the front of the SLC and properly mounted (see PC Card Storage on page 86). Data logged locally to the SLC is limited to 256KB and may be lost in the event of a power loss. Data logged to a PC Card Compact Flash does not have these limitations. The system administrator can define the file size and number of files per port. For each logging file, once the file size reaches the maximum, a new file opens for logging. Once the number of files reaches the maximum, the oldest file is overwritten. The file naming convention is: <Device Port Number>_<Device Port Name>_<File number>.log.

Examples are:

02_Port-2_1.log

02_Port-2_2.log

02_Port-2_3.log

02_Port-2_4.log

02_Port-2_5.log

Email Notification

The system administrator can configure the device log to automatically send an email alert message to the appropriate parties indicating a particular error. The email is triggered when a user-defined number of characters in the log from your server or device is exceeded.

Sylog Logging

Data can be logged to the system log. If this feature is enabled, the data will appear in the Device Ports log, under the Info level. The log level for the Device Ports log must be set to Info for the data to be saved to the system log.

Use the Device Ports – Logging page to set logging parameters on individual ports.

 

See Also

Device Ports-Logging

Device Ports

Device Port Settings