> For the complete documentation index, see [llms.txt](https://docs.islandrouter.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/show-log.md).

# show log

## Syntax

{% code overflow="wrap" %}

```
show log [all] [clear] [end] [kernel] [last] [module <modname>] [priority <level] [utc] [wait] [where <string>]
```

{% endcode %}

## Syntax Description

<table><thead><tr><th width="165"></th><th></th></tr></thead><tbody><tr><td><code>all</code></td><td>Show the entire system log buffer instead of only the most recent entries.</td></tr><tr><td><code>clear</code></td><td>Clear the log buffer after displaying it.</td></tr><tr><td><code>end</code></td><td>Start at the end of the buffer (implies the <code>wait</code> option).</td></tr><tr><td><code>kernel</code></td><td>Display the kernel log instead of the system log. All other options are ignored if <code>kernel</code> is specified.</td></tr><tr><td><code>last</code></td><td>Show on the most recent log entries.</td></tr><tr><td><code>module</code></td><td>Display only the log entries from the specified software module.</td></tr><tr><td><code>priority</code></td><td>Display only entries of the specified priority or higher.</td></tr><tr><td><code>utc</code></td><td>Show entry times in UTC rather than local time.</td></tr><tr><td><code>wait</code></td><td>Wait for new records. The command can be aborted with Control-C.</td></tr><tr><td><code>where</code></td><td>Display only records matching the specified string or regular expression.</td></tr></tbody></table>

## Defaults

Only the most recent entries are displayed by default.

## Usage Guidelines

This command displays the contents of the system or kernel log buffer in memory.

The log buffer is circular; when the buffer is full, older entries are deleted as new entries are added.

The system log is also written to non-volatile storage which can be displayed using the show syslog slog command.

The `where` option can specify either a simple string or a regular expression. A regular express must be enclosed within “/”. The entire string must be enclosed in quotes if it contains whitespace.

## Examples

```
show log
show log where 00:53:19:A3:89:F1
show log module pkteng
```

## Related Commands


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
