You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by "Basheeruddin Ahmed (syedbahm)" <sy...@cisco.com> on 2015/08/17 06:24:50 UTC

pax-logging-logback integration with karaf shell log: commands

The following issue seems to be still open.
https://issues.apache.org/jira/browse/KARAF-3358
Any update on this one - when it is planned to fix. We find the  integration of the
log:display/log:set etc Karaf shell commands convenient & want to work when using pax-logging-logback.

Thx,
-Basheeruddin


From: Achim Nierbeck <bc...@googlemail.com>>
Reply-To: "user@karaf.apache.org<ma...@karaf.apache.org>" <us...@karaf.apache.org>>
Date: Sunday, August 16, 2015 at 9:15 PM
To: "user@karaf.apache.org<ma...@karaf.apache.org>" <us...@karaf.apache.org>>
Subject: Re: Custom distribution with child instances?

Hi Gary,

sounds like you'll need some custom maven assembly here.

regards, Achim


2015-08-16 16:32 GMT+02:00 Gary Hodgson <ga...@gmail.com>>:
Hi,

Is there a way to create a custom distribution which contains a set of pre-configured child instances? Or is this something that would require some custom maven assembly work?

Thanks,
Gary



--

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master


Re: pax-logging-logback integration with karaf shell log: commands

Posted by Stuart McCulloch <mc...@gmail.com>.
...at least any levels set via “log:set" will be displayed when you use "log:get ALL”, and will affect the log output

the caveat is that it won’t currently show the levels set inside logback by other means (such as the XML config)  

On Monday, 17 August 2015 at 23:18, Stuart McCulloch wrote:  
> Actually log:set, log:get, and log:display should now work when using the latest pax-logging-logback release (1.8.3)
>  
> --  
> Cheers, Stuart
>  
>  
> On Monday, 17 August 2015 at 05:24, Basheeruddin Ahmed (syedbahm) wrote:
>  
> > The following issue seems to be still open.
> > https://issues.apache.org/jira/browse/KARAF-3358
> > Any update on this one - when it is planned to fix. We find the  integration of the  
> > log:display/log:set etc Karaf shell commands convenient & want to work when using pax-logging-logback.
> >  
> > Thx,
> > -Basheeruddin  
> >  
> >  
> > From: Achim Nierbeck <bcanhome@googlemail.com (mailto:bcanhome@googlemail.com)>
> > Reply-To: "user@karaf.apache.org (mailto:user@karaf.apache.org)" <user@karaf.apache.org (mailto:user@karaf.apache.org)>
> > Date: Sunday, August 16, 2015 at 9:15 PM
> > To: "user@karaf.apache.org (mailto:user@karaf.apache.org)" <user@karaf.apache.org (mailto:user@karaf.apache.org)>
> > Subject: Re: Custom distribution with child instances?
> >  
> > Hi Gary,   
> >  
> > sounds like you'll need some custom maven assembly here.   
> >  
> > regards, Achim   
> >  
> >  
> > 2015-08-16 16:32 GMT+02:00 Gary Hodgson <gary.s.hodgson@gmail.com (mailto:gary.s.hodgson@gmail.com)>:
> > > Hi,  
> > >  
> > > Is there a way to create a custom distribution which contains a set of pre-configured child instances? Or is this something that would require some custom maven assembly work?  
> > >  
> > > Thanks,  
> > > Gary
> > >  
> > >  
> >  
> >  
> >  
> >  
> >  
> > --  
> >  
> > Apache Member
> > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead
> > blog <http://notizblog.nierbeck.de/>  
> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >  
> > Software Architect / Project Manager / Scrum Master   
> >  
>  


Re: pax-logging-logback integration with karaf shell log: commands

Posted by Stuart McCulloch <mc...@gmail.com>.
Actually log:set, log:get, and log:display should now work when using the latest pax-logging-logback release (1.8.3)

-- 
Cheers, Stuart


On Monday, 17 August 2015 at 05:24, Basheeruddin Ahmed (syedbahm) wrote:

> The following issue seems to be still open.
> https://issues.apache.org/jira/browse/KARAF-3358
> Any update on this one - when it is planned to fix. We find the  integration of the 
> log:display/log:set etc Karaf shell commands convenient & want to work when using pax-logging-logback.
> 
> Thx,
> -Basheeruddin 
> 
> 
> From: Achim Nierbeck <bcanhome@googlemail.com (mailto:bcanhome@googlemail.com)>
> Reply-To: "user@karaf.apache.org (mailto:user@karaf.apache.org)" <user@karaf.apache.org (mailto:user@karaf.apache.org)>
> Date: Sunday, August 16, 2015 at 9:15 PM
> To: "user@karaf.apache.org (mailto:user@karaf.apache.org)" <user@karaf.apache.org (mailto:user@karaf.apache.org)>
> Subject: Re: Custom distribution with child instances?
> 
> Hi Gary,  
> 
> sounds like you'll need some custom maven assembly here.  
> 
> regards, Achim  
> 
> 
> 2015-08-16 16:32 GMT+02:00 Gary Hodgson <gary.s.hodgson@gmail.com (mailto:gary.s.hodgson@gmail.com)>:
> > Hi, 
> > 
> > Is there a way to create a custom distribution which contains a set of pre-configured child instances? Or is this something that would require some custom maven assembly work? 
> > 
> > Thanks, 
> > Gary
> > 
> > 
> 
> 
> 
> 
> 
> -- 
> 
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead
> blog <http://notizblog.nierbeck.de/> 
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> 
> Software Architect / Project Manager / Scrum Master  
> 


Re: pax-logging-logback integration with karaf shell log: commands

Posted by Achim Nierbeck <bc...@googlemail.com>.
Contribution is always welcomed.

regards, Achim


2015-08-17 6:24 GMT+02:00 Basheeruddin Ahmed (syedbahm) <sy...@cisco.com>
:

> The following issue seems to be still open.
> https://issues.apache.org/jira/browse/KARAF-3358
> Any update on this one - when it is planned to fix. We find the
>  integration of the
> log:display/log:set etc Karaf shell commands convenient & want to work
> when using pax-logging-logback.
>
> Thx,
> -Basheeruddin
>
>
> From: Achim Nierbeck <bc...@googlemail.com>
> Reply-To: "user@karaf.apache.org" <us...@karaf.apache.org>
> Date: Sunday, August 16, 2015 at 9:15 PM
> To: "user@karaf.apache.org" <us...@karaf.apache.org>
> Subject: Re: Custom distribution with child instances?
>
> Hi Gary,
>
> sounds like you'll need some custom maven assembly here.
>
> regards, Achim
>
>
> 2015-08-16 16:32 GMT+02:00 Gary Hodgson <ga...@gmail.com>:
>
>> Hi,
>>
>> Is there a way to create a custom distribution which contains a set of
>> pre-configured child instances? Or is this something that would require
>> some custom maven assembly work?
>>
>> Thanks,
>> Gary
>>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: pax-logging-logback integration with karaf shell log: commands

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I gonna check but it should work on Karaf 4.x (as it uses pax-logging 
1.8.3).

Regards
JB

On 08/17/2015 06:24 AM, Basheeruddin Ahmed (syedbahm) wrote:
> The following issue seems to be still open.
> https://issues.apache.org/jira/browse/KARAF-3358
> Any update on this one - when it is planned to fix. We find the
>   integration of the
> log:display/log:set etc Karaf shell commands convenient & want to work
> when using pax-logging-logback.
>
> Thx,
> -Basheeruddin
>
>
> From: Achim Nierbeck <bcanhome@googlemail.com
> <ma...@googlemail.com>>
> Reply-To: "user@karaf.apache.org <ma...@karaf.apache.org>"
> <user@karaf.apache.org <ma...@karaf.apache.org>>
> Date: Sunday, August 16, 2015 at 9:15 PM
> To: "user@karaf.apache.org <ma...@karaf.apache.org>"
> <user@karaf.apache.org <ma...@karaf.apache.org>>
> Subject: Re: Custom distribution with child instances?
>
> Hi Gary,
>
> sounds like you'll need some custom maven assembly here.
>
> regards, Achim
>
>
> 2015-08-16 16:32 GMT+02:00 Gary Hodgson <gary.s.hodgson@gmail.com
> <ma...@gmail.com>>:
>
>     Hi,
>
>     Is there a way to create a custom distribution which contains a set
>     of pre-configured child instances? Or is this something that would
>     require some custom maven assembly work?
>
>     Thanks,
>     Gary
>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
> & Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com