[
https://issues.apache.org/jira/browse/CAMEL-6694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13958734#comment-13958734
]
ASF GitHub Bot commented on CAMEL-6694:
---------------------------------------
GitHub user grgrzybek opened a pull request:
https://github.com/apache/camel/pull/128
[CAMEL-6694] Make camel log component compatible with MDC Sift appender
It adds the behaviour, that Camel LogComponent looks for the
`org.slf4j.Logger` instance in current repository or uses user-provided logger
in URI parameter "logger".
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grgrzybek/camel CAMEL-6694
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/128.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #128
----
commit d09cfdd5d273804b2a65ee83ec70175abd371a93
Author: Grzegorz Grzybek <[email protected]>
Date: 2014-04-01T10:06:36Z
[CAMEL-6694] Allow user to pass logger instance in camel-log endpoint
URI
The URI has form: log:logger-name?level=info&logger=#mylogger
"mylogger" is registered in context's registry
commit 7d9f281c307a3fe33e99c70cbdae523be980c61e
Author: Grzegorz Grzybek <[email protected]>
Date: 2014-04-03T10:51:18Z
[CAMEL-6694] lookup logger in registry when single instance available
commit 45305434b80e3b9168b599f38312969d4d0c115e
Author: Grzegorz Grzybek <[email protected]>
Date: 2014-04-03T11:38:07Z
[CAMEL-6694] Added OSGi integration tests for logging with MDC SIFT logger
----
> Make Log component and EIP compatible with log4j MDC Sift Appender
> ------------------------------------------------------------------
>
> Key: CAMEL-6694
> URL: https://issues.apache.org/jira/browse/CAMEL-6694
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.12.0
> Reporter: Raúl Kripalani
> Assignee: Grzegorz Grzybek
> Fix For: 2.13.1
>
>
> Refer to
> http://camel.465427.n5.nabble.com/Logging-into-the-bundle-log-file-via-to-log-tp5738205p5738413.html
> for more info.
> We should use the Camel Context's Classloader to initialize the Logger
> instance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)