Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Este contenido no está disponible en el idioma seleccionado.
Chapter 124. Pax-Logging
PaxLogging component Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Available in Camel 2.6
The
paxlogging
component can be used in an OSGi environment to receive PaxLogging events and process them.
Dependencies Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Maven users need to add the following dependency to their
pom.xml
where
$\{camel-version\}
must be replaced by the actual version of Camel (2.6.0 or higher).
URI format Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
paxlogging:appender
paxlogging:appender
where
appender
is the name of the pax appender that need to be configured in the PaxLogging service configuration.
URI options Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Name | Default value | Description |
---|
Message headers Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Name | Type | Message | Description |
---|
Message body Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
The
in
message body will be set to the received PaxLoggingEvent.
Example usage Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
Configuration:
log4j.rootLogger=INFO, out, osgi:VmLogAppender, osgi:camel
log4j.rootLogger=INFO, out, osgi:VmLogAppender, osgi:camel