---
title: c Log
description: Available connectors
documentId: ipaas-log
locale: en-US
---

## Log

The [**Log**](https://camel.apache.org/components/4.10.x/log-component.html) component is very useful for logging messages during route processing. It allows you to see what is happening in your integrations in real-time, helping with debugging and monitoring.

**URI syntax**: `log:loggerName`

### Main fields

*Path parameters*

| **Name** | **Description** | **Default** | **Type** |
|----------|-----------------|-------------|----------|
|`loggerName` (producer)| (required) Name of the logging category to use.| —  | String |


*Query parameters*

| **Name** | **Description** | **Default** | **Type** |
|----------|-----------------|-------------|----------|
|`level` (producer) | Logging level to use: TRACE, DEBUG, INFO, WARN, ERROR and OFF | —  |String |

### Example

<Steps>
    <Step>
    The flow receives a POST request.
    </Step>
    <Step>
     Removes the `Exchange.HTTP_PATH` header from the message.
    </Step>
    <Step>
 Makes an HTTP call to an external endpoint.
    </Step>
        <Step>
 Finally, logs the response from this call in the logs.
    </Step>
</Steps>

```yaml
- from:
    uri: "rest:post:hello"
    steps:
    - removeHeader:
        name: Exchange.HTTP_PATH
    - to:
        uri: "http://teste.free.beeceptor.com/xml-request"
        parameters:
          bridgeEndpoint: true
    - to:
        uri: "log:responseLogger"
```

![](https://creative-ball-51b3fc85c0.media.strapiapp.com/component_log_c8801c69c7.png)
