> **Experimental**
>
> `@aws-cdk/aws-pipes-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# LogLevel

Log configuration for a pipe.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/logs.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-pipes-alpha/lib/logs.ts#L23)

## Example

```ts
declare const sourceQueue: sqs.Queue;
declare const targetQueue: sqs.Queue;
declare const logGroup: logs.LogGroup;

const cwlLogDestination = new pipes.CloudwatchLogsLogDestination(logGroup);

const pipe = new pipes.Pipe(this, 'Pipe', {
  source: new SqsSource(sourceQueue),
  target: new SqsTarget(targetQueue),
  logLevel: pipes.LogLevel.TRACE,
  logIncludeExecutionData: [pipes.IncludeExecutionData.ALL],
  logDestinations: [cwlLogDestination],
});
```

## Members

| Member | Description |
| --- | --- |
| `OFF` | No logging. |
| `ERROR` | Log only errors. |
| `INFO` | Log errors, warnings, and info. |
| `TRACE` | Log everything. |

## Referenced by

- [`PipeProps`](/v2/docs/@aws-cdk_aws-pipes-alpha.PipeProps).logLevel
