> # Sending Log Files

> By default, the switch logs normal but significant system messages to a log file and sends these messages to the system console. Log messages are not saved across system reboots.The logging messages that are generated may be saved to a log file. You can configure the name of this file and restrict its size as required. The default log file name is messages.

> The file name can have up to 80 characters and the file size ranges from 4096 bytes to 4194304 bytes.

> ## Restrictions

> The configured log file is saved in the /var/log/external directory. The location of the log file cannot be changed.

> ## Detailed Steps

> To send log messages to a file, follow these steps:

> 1. Select a switch in the Fabric pane.
> 2. Expand Events and select SysLog in the Physical Attributes pane.

> You see the SysLog information in the Information pane.

> 3. Select a switch in the Information pane.
> 4. Click the Switch Logging tab.
> 5. Enter the name of the log file in the LogFile Name column in the row for that switch.
> 6. Click the Apply Changes icon.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.