Hi

Yeah the doc is a bit outdated, and we should also only use source
name:line if explicit enabled
https://issues.apache.org/jira/browse/CAMEL-20418

On Tue, Feb 13, 2024 at 8:03 PM Benjamin Graf <benjamin.g...@gmx.net.invalid>
wrote:

> Hi together,
>
> I'm struggling what would be the expected order for logName evaluation.
> The docs (
> https://camel.apache.org/components/4.0.x/eips/log-eip.html#_configuring_logging_name)
> says if not defined, it'll use the routeId set or a generated one. Looking
> into code of LogReifier (
> https://github.com/apache/camel/blob/3793981daa32567a25a2aa1628a986658f863171/core/camel-core-reifier/src/main/java/org/apache/camel/reifier/LogReifier.java#L70)
> it would use getLineNumberLoggerName() before any kind of routeId first.
>
> What is the wanted order code or doc? Seems to be a bug, anyway :)
>
> Regards,
>
> Benjamin
>


-- 
Claus Ibsen
-----------------
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to