> ## Documentation Index
> Fetch the complete documentation index at: https://orphelix.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# orphelix logs

> View real-time application logs

# orphelix logs

View real-time logs from Orphelix application. Uses pm2 logs under the hood.

## Usage

```bash theme={null}
orphelix logs [options]
```

## Options

| Option | Alias | Description | Default |
| - | - | - | - |
| `--name` | `-n` | Instance name | `orphelix` |

## Examples

### View Default Instance Logs

```bash theme={null}
orphelix logs
```

Shows combined stdout and stderr in real-time.

### View Specific Instance Logs

```bash theme={null}
orphelix logs --name prod
```

### Exit Logs

Press **Ctrl+C** to exit. The application continues running in background.

## Output Format

```bash theme={null}
$ orphelix logs

[TAILING] Tailing last 15 lines for [orphelix] process
orphelix-0  | ▲ Next.js 16.0.0
orphelix-0  | - Local:        http://localhost:3000
orphelix-0  | ✓ Ready in 1.2s
orphelix-0  | GET /api/dashboard 200 in 234ms

[Press Ctrl+C to exit]
```

## Related Commands

* [status](https://orphelix.mintlify.site/cli/commands/status.md) - Check if running
* [info](https://orphelix.mintlify.site/cli/commands/info.md) - Detailed application info
* [clean](https://orphelix.mintlify.site/cli/commands/clean) - Clean logs and caches


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.