This should work, just to verity, can you create different appender and see
whether it works. May be you can write in different file.
Just to me sure, all configurations is proper and its picking up the
logback.xml file configurations.

Srikanth Hugar
www.gharki.com



On Thu, Nov 13, 2014 at 10:50 AM, syedbahm <syedb...@cisco.com> wrote:

>  Hi
> Likely you just checked the title and replied. I have pax-logback-service
> working -- in my latest post -- I was asking about  how the loggers we
> define in logback.xml appear in karaf console
> as for me just the root logger shows up i.e. using
>
> log:get ALL
>
> command --- I don't see other loggers that are defined in logback.xml..
> Here is again my query
> ---- start of question -----
>
> One more question
>    I have a bunch of logger defines in logback.xml
>
> e.g.
>
>
>   <logger name="io.netty" level="WARN"/>
>
> I want them to appear when I do log:get ALL in karaf console.  But the only
> thing I see in Karaf console is
>
> ---
> Logger | Level
> --------------
> ROOT   | DEBUG
> ---
>
> Where should I specify the other loggers to show up in Karaf console
> --- end of question ----
>
> thx
> -syed
>
>
>
> On 11/12/2014 07:47 PM, Srikanth Hugar wrote:
>
>  You could have look the link below, i have done it in karaf and its
> working fine for me.
>
>  I used logback.xml file and added all my logback configurations in file.
>
>  http://www.gharki.com/2014/07/how-to-configure-pax-logging-to-use.html
>
>   Srikanth Hugar
> www.gharki.com
>
>
>
> On Thu, Nov 13, 2014 at 7:20 AM, syedbahm <syedb...@cisco.com> wrote:
>
>> One more question
>>    I have a bunch of logger defines in logback.xml
>>
>> e.g.
>>
>>
>>   <logger name="io.netty" level="WARN"/>
>>
>> I want them to appear when I do log:get ALL in karaf console.  But the
>> only
>> thing I see in Karaf console is
>>
>> ---
>> Logger | Level
>> --------------
>> ROOT   | DEBUG
>> ---
>>
>> Where should I specify the other loggers to show up in Karaf console
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/pax-logback-service-not-working-in-karaf-distribution-tp4036073p4036374.html
>>  Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
>
>

Reply via email to