In our project's logging, we have recently started using Markers, which are described in the following:
http://logback.qos.ch/manual/filters.html According to the Camel docs: http://camel.apache.org/log.html Camel 2.7+ uses SLF4J and I know that SLF4J supports the Marker interface. My question is if this is possible in the Camel Spring DSL, and how to do it? In our Java code, we can do the following: Marker marker = MarkerFactory.getMarker( "id" ); logger.warn( marker, "my log message" ); Naturally, we have the associated filter in our logback.groovy file, and the filter itself is a class that extends AbstractMatcherFilter. So, in our routes, we have log statements like the following example: <camel:log message="Received message" logName="com.app.CamelReport" loggingLevel="INFO"/> Is there a way to integrate Markers in the route? This would allow one to selectively send log statements to various locations regardless of level. Thanks, Michael Kolakowski -- View this message in context: http://camel.465427.n5.nabble.com/Can-camel-use-a-Marker-as-used-in-logback-tp4955683p4955683.html Sent from the Camel - Users mailing list archive at Nabble.com.