camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlrowe <>
Subject camel log component: logger from registry
Date Fri, 26 Sep 2014 16:12:17 GMT

There seems to be a little inconsistency between the log component and the
log DSL

Log component documentation says that it will always use a logger from the
registry if a one is found

Log DSL documentation says that it will only use a logger from the registry
if the logger is not specified

In fact, I think the log DSL behaviour is best since you can override the
registry with the logger in the EIP parameters. At the moment I need to use
the log component, but some other code has its own logger in the registry,
so I have to either define a logger in the registry and refer to it in the
URI, or define a second one and not refer to it (multiple loggers in
regsitry forces log component to use configured URI)


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message