Skip to content

Log Sink

The IntegrationSink supports the Log Sink Kamelet that logs all data that it receives, through its log property. This sink useful for debugging purposes.

Log Sink Example

Below is an IntegrationSink that logs all data that it receives:

apiVersion: sinks.knative.dev/v1alpha1
kind: IntegrationSink
metadata:
  name: integration-log-sink
  namespace: knative-samples
spec:
  log:
    showHeaders: true
    level: INFO

Inside of the log object we define the logging level and define to also show (HTTP) headers it received.

More details about the Apache Camel Kamelet timer-sink.

We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.

× OK