# LogConfig

Interface for Logging Configuration of the Event Bus.

- Source: [`aws-events/lib/event-bus.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-events/lib/event-bus.ts#L60)
- Type last changed: v2.216.0 · 22 Sep 2025

## Example

```ts
import { EventBus, IncludeDetail, Level } from 'aws-cdk-lib/aws-events';

const bus =  new EventBus(this, 'Bus', {
      logConfig: {
        includeDetail: IncludeDetail.FULL,
        level: Level.TRACE,
      },
    });
```

## Properties

- `includeDetail`: [IncludeDetail](/cdk/api/v2/docs/aws-cdk-lib.aws_events.IncludeDetail.html) — Whether EventBridge include detailed event information in the records it generates.

  **Default:** no details

- `level`: [Level](/cdk/api/v2/docs/aws-cdk-lib.aws_events.Level.html) = OFF — Logging level.
