# Logging and debugging

Spotnana includes trace and span IDs in all webhook requests as `X-B3-TraceId` and `X-B3-SpanId` headers.
Always log these IDs and provide them to Spotnana support when reporting issues.

## Best practices

- Always log trace and span IDs with every webhook event.
- Include timestamp, event type, and operation in logs.
- Log both successful and failed deliveries.
- Maintain logs for troubleshooting and auditing.
- Provide trace/span IDs when contacting Spotnana support.