Configuration

# Logging

The Docker logging driver and options for app containers.

Set these to control the Docker logging driver and options.

## Logging settings

These go under the logging key in the configuration file.

This can be specified at the root level or for a specific role.

```yaml
logging:
```

## Driver

The logging driver to use, passed to Docker via `--log-driver`:

```yaml
driver: json-file
```

## Options

Any logging options to pass to the driver, passed to Docker via `--log-opt`:

```yaml
options:
  max-size: 100m
```

> **Note:** Generated from the gem's `lib/dash/configuration/docs/logging.yml` — the same reference `dash docs logging` prints in your terminal, so this page always matches your installed version.