# show syslog

## Syntax

{% code overflow="wrap" %}

```
show syslog [<dir>] <file>
```

{% endcode %}

## Syntax Description

<table><thead><tr><th width="193"></th><th></th></tr></thead><tbody><tr><td>dir</td><td>(Optional) The subdirectory containing the log file.</td></tr><tr><td>file</td><td>The name of the log file.</td></tr></tbody></table>

## Defaults

## Usage Guidelines

This command lists the available system log files or displays the contents of a specific log file. The list of available log files varies depending on the system type and the applications installed. A list of the available log files is available by typing `show syslog ?`.

Some log files are kept in a subdirectory of the main log directory. This is generally true for logs for which multiple generations are kept. The contents of these subdirectories can be displayed using show `syslog <dir> ?`, and the individual log files displayed using show `syslog <dir> <file>`.

## Examples

```
show syslog update.log
show syslog slog 20240625-135825
```

## Related Commands

{% content-ref url="/pages/m5afi8XUpJOEZiR3etGE" %}
[write syslog](/island-router-cli-2.3.2/commands/write/write-syslog.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.islandrouter.com/island-router-cli-2.3.2/commands/show-syslog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
