karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Moquin <fragility...@gmail.com>
Subject Re: Logback and Apache Karaf
Date Thu, 14 Mar 2013 22:25:47 GMT
FYI, I tried the pax-logging-logback library (not sure if it was 1.7.0 or
1.7.1 or something), but it went crazy when I installed it.  Literally just
about every bundle version of logback that was ever made ended up installed
and activated.... there were some other weird things.  I ended up deciding
just to stick with what's there by default though I would like to use
logback somehow.


On Thu, Mar 14, 2013 at 11:16 AM, Guillaume Nodet <gnodet@gmail.com> wrote:

> Another drawback of switching to logback would be that the log:set command
> which allow changing the logger levels would not work anymore.
>
>
> On Thu, Mar 14, 2013 at 9:03 AM, Achim Nierbeck <bcanhome@googlemail.com>wrote:
>
>> No not really, cause right now we rather use the ConfigurationAdmin
>> Service way of configuring the logger.
>> But I think you're able to configure it in the org.ops4j.pax.logging.cfg
>> file to use a logback config.
>>
>> regards, Achim
>>
>>
>> 2013/3/14 Gareth <gareth.o.collins@gmail.com>
>>
>>> Hi,
>>>
>>> Any plans to make it easy to switch the Pax Logging (now 1.7.0) now
>>> bundled
>>> with Karaf to use Logback instead? e.g. like having a:
>>>
>>> karaf.loggingbackend = log4j/logback
>>>
>>> I ask because I was interested in using logback specific features (e.g.
>>> log4j 1.2 does not support Markers).
>>>
>>> thanks in advance,
>>> Gareth
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Logback-and-Apache-Karaf-tp4028183.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
>> Commiter & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>
>
>
> --
> ------------------------
> Guillaume Nodet
> ------------------------
> Red Hat, Open Source Integration
>
> Email: gnodet@redhat.com
> Web: http://fusesource.com
> Blog: http://gnodet.blogspot.com/
>
>

Mime
View raw message