karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Grzybek <gr.grzy...@gmail.com>
Subject Re: [K4.1] Pax Logging: Sift appender
Date Wed, 27 Mar 2019 13:45:49 GMT
Jayamani, you have to add this sift appender to SOME logger, like (for
org.apache.camel logger/category)

# Sift appender
log4j2.appender.mdc.type = Routing
log4j2.appender.mdc.name = SiftAppender
log4j2.appender.mdc.routes.type = Routes
...

# sample logger using Sift appender
log4j2.logger.example.name = org.apache.camel
log4j2.logger.example.level = INFO
log4j2.logger.example.appenderRef.SiftAppender.ref = SiftAppender

regards
Grzegorz Grzybek

śr., 27 mar 2019 o 14:29 Jayamani <jayamanijai92@gmail.com> napisał(a):

> Hi Guillaume,
>  i tried routing appender in karaf 4.2.3 pax logging, it's not working
> ....are we need to provide routing appender reference to rootLogger..?
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message