When deploying a Camel route like:
public class LogExceptionRoute extends RouteBuilder { @Override public void configure() { onException(Throwable.class) .handled(true) .log(LoggingLevel.ERROR, "${exception.message}"); from("jetty:http://0.0.0.0:8005").routeId("reproducer-log-exception") .throwException(new Exception()); } }
which creates a log line that won't have any log message (due to the caught exception not containing any message), it results in this output written to stderr:
'org.apache.felix.eventadmin.impl.adapter.LogEventAdapter$1@2d945cb1' is removed as a LogListener, since it threw an exception.
As a result further events are not propagated to the EventAdmin service.
- is related to
-
FELIX-5107 Loading...