You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Benson Margulies <be...@basistech.com> on 2015/08/12 18:41:53 UTC

Using felix:log and pax logging

The pax logging documentation is a bit elderly.

My goal is to set up a shell in which bundles that import org.slf4j or
log4j API's are happy, and in which the resulting log messages are
visible (at least) to the felix:log commands. Is there a recipe
somewhere? When I try to add the pax logging service, I get

!ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12 12:29:35.130
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module:
org.ops4j.pax.logging.pax-logging-service [30]
  Unresolved requirement: Import-Package: com.ibm.uvm.tools;
resolution:="optional"
  Unresolved requirement: Import-Package: com.sun.jdmk.comm;
resolution:="optional"
  Unresolved requirement: Import-Package: javax.jmdns; resolution:="optional"
  Unresolved requirement: Import-Package: javax.jms;
version="[1.1.0,2.0.0)"; resolution:="optional"
  Unresolved requirement: Import-Package: javax.mail; resolution:="optional"
  Unresolved requirement: Import-Package: javax.mail.internet;
resolution:="optional"
  Unresolved requirement: Import-Package:
org.knopflerfish.service.log; provider="paxlogging";
version="[1.1.0,2.0.0)"

I presume it's the last one that is killing me: why is a knoplerfish
package required?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using felix:log and pax logging

Posted by Benson Margulies <be...@basistech.com>.
On Sat, Aug 15, 2015 at 12:51 PM, Achim Nierbeck
<bc...@googlemail.com> wrote:
> Check once more for the confluence pages.
> Regarding the pull-request, I just added you to the team, so you can take
> care of it yourself.

Yea, I can create pages now, I'm working on one. I could have sworn
that there was an existing page somewhere with a list of three ways to
configure the output, and I'm struggling to relocate it.


Oh! Thanks. I don't suppose that you cast a quick glance over it just in case.

>
> regards, Achim
>
>
> 2015-08-15 18:35 GMT+02:00 Benson Margulies <be...@basistech.com>:
>
>> https://ops4j1.jira.com/browse/PAXEXAM-726 links to the PR.
>>
>> Even after logging out and in, Confluence is not showing my any
>> ability to edit any wiki pages :-)
>>
>>
>> On Sat, Aug 15, 2015 at 12:34 PM, Achim Nierbeck
>> <bc...@googlemail.com> wrote:
>> > Benson,
>> >
>> > got a link?
>> >
>> > regards, Achim
>> >
>> > 2015-08-15 18:32 GMT+02:00 Benson Margulies <be...@basistech.com>:
>> >
>> >> Achim,
>> >>
>> >> Harold did pull my trivial addition to the exam plugin, but no one has
>> >> shown any sign of noticing my JIRA/PR for the change to allow adding
>> >> event handlers to the framework.
>> >>
>> >> --benson
>> >>
>> >>
>> >> On Sat, Aug 15, 2015 at 12:24 PM, Achim Nierbeck
>> >> <bc...@googlemail.com> wrote:
>> >> > Hi Benson,
>> >> >
>> >> > just did give you the access to confluence.
>> >> > Regarding Pax - Exam  pull request, if it's good we'll give you
>> access to
>> >> > the repo :-)
>> >> >
>> >> > regards, Achim
>> >> >
>> >> >
>> >> > 2015-08-15 18:14 GMT+02:00 Benson Margulies <be...@basistech.com>:
>> >> >
>> >> >> Can you give me access to edit
>> >> >>
>> https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?
>> >> >>
>> >> >> My profile on the wiki is attached to benson@basistech.com.
>> >> >>
>> >> >>
>> >> >> On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <
>> >> benson@basistech.com>
>> >> >> wrote:
>> >> >> > OK, away I go. I misunderstood the requirement to have the API
>> bundle.
>> >> >> >
>> >> >> > p.s. Care to merge in my pull request in pax-exam?
>> >> >> >
>> >> >> >
>> >> >> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
>> >> >> > <bc...@googlemail.com> wrote:
>> >> >> >> Hi,
>> >> >> >>
>> >> >> >> usually you need two bundles for pax-logging.
>> >> >> >> One is the pax-logging-service, the other one is the
>> pax-logging-api
>> >> >> >> bundle.
>> >> >> >>
>> >> >> >> Btw. talking of elderly documentation, if you see improvements for
>> >> the
>> >> >> >> documentation feel free to improve it.
>> >> >> >> OPS4j is a very open community. Like you find an issue you fix it
>> ;-)
>> >> >> >>
>> >> >> >> regards, Achim
>> >> >> >>
>> >> >> >>
>> >> >> >> 2015-08-12 18:41 GMT+02:00 Benson Margulies <benson@basistech.com
>> >:
>> >> >> >>
>> >> >> >>> The pax logging documentation is a bit elderly.
>> >> >> >>>
>> >> >> >>> My goal is to set up a shell in which bundles that import
>> org.slf4j
>> >> or
>> >> >> >>> log4j API's are happy, and in which the resulting log messages
>> are
>> >> >> >>> visible (at least) to the felix:log commands. Is there a recipe
>> >> >> >>> somewhere? When I try to add the pax logging service, I get
>> >> >> >>>
>> >> >> >>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
>> >> >> >>> 12:29:35.130
>> >> >> >>> !MESSAGE FrameworkEvent ERROR
>> >> >> >>> !STACK 0
>> >> >> >>> org.osgi.framework.BundleException: Could not resolve module:
>> >> >> >>> org.ops4j.pax.logging.pax-logging-service [30]
>> >> >> >>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
>> >> >> >>> resolution:="optional"
>> >> >> >>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
>> >> >> >>> resolution:="optional"
>> >> >> >>>   Unresolved requirement: Import-Package: javax.jmdns;
>> >> >> >>> resolution:="optional"
>> >> >> >>>   Unresolved requirement: Import-Package: javax.jms;
>> >> >> >>> version="[1.1.0,2.0.0)"; resolution:="optional"
>> >> >> >>>   Unresolved requirement: Import-Package: javax.mail;
>> >> >> >>> resolution:="optional"
>> >> >> >>>   Unresolved requirement: Import-Package: javax.mail.internet;
>> >> >> >>> resolution:="optional"
>> >> >> >>>   Unresolved requirement: Import-Package:
>> >> >> >>> org.knopflerfish.service.log; provider="paxlogging";
>> >> >> >>> version="[1.1.0,2.0.0)"
>> >> >> >>>
>> >> >> >>> I presume it's the last one that is killing me: why is a
>> knoplerfish
>> >> >> >>> package required?
>> >> >> >>>
>> >> >> >>>
>> >> ---------------------------------------------------------------------
>> >> >> >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> >> >> >>> For additional commands, e-mail: users-help@felix.apache.org
>> >> >> >>>
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >>
>> >> >> >> 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
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> >> >> For additional commands, e-mail: users-help@felix.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> >
>> >> > 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
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> >> For additional commands, e-mail: users-help@felix.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> >
>> > 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using felix:log and pax logging

Posted by Achim Nierbeck <bc...@googlemail.com>.
Check once more for the confluence pages.
Regarding the pull-request, I just added you to the team, so you can take
care of it yourself.

regards, Achim


2015-08-15 18:35 GMT+02:00 Benson Margulies <be...@basistech.com>:

> https://ops4j1.jira.com/browse/PAXEXAM-726 links to the PR.
>
> Even after logging out and in, Confluence is not showing my any
> ability to edit any wiki pages :-)
>
>
> On Sat, Aug 15, 2015 at 12:34 PM, Achim Nierbeck
> <bc...@googlemail.com> wrote:
> > Benson,
> >
> > got a link?
> >
> > regards, Achim
> >
> > 2015-08-15 18:32 GMT+02:00 Benson Margulies <be...@basistech.com>:
> >
> >> Achim,
> >>
> >> Harold did pull my trivial addition to the exam plugin, but no one has
> >> shown any sign of noticing my JIRA/PR for the change to allow adding
> >> event handlers to the framework.
> >>
> >> --benson
> >>
> >>
> >> On Sat, Aug 15, 2015 at 12:24 PM, Achim Nierbeck
> >> <bc...@googlemail.com> wrote:
> >> > Hi Benson,
> >> >
> >> > just did give you the access to confluence.
> >> > Regarding Pax - Exam  pull request, if it's good we'll give you
> access to
> >> > the repo :-)
> >> >
> >> > regards, Achim
> >> >
> >> >
> >> > 2015-08-15 18:14 GMT+02:00 Benson Margulies <be...@basistech.com>:
> >> >
> >> >> Can you give me access to edit
> >> >>
> https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?
> >> >>
> >> >> My profile on the wiki is attached to benson@basistech.com.
> >> >>
> >> >>
> >> >> On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <
> >> benson@basistech.com>
> >> >> wrote:
> >> >> > OK, away I go. I misunderstood the requirement to have the API
> bundle.
> >> >> >
> >> >> > p.s. Care to merge in my pull request in pax-exam?
> >> >> >
> >> >> >
> >> >> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
> >> >> > <bc...@googlemail.com> wrote:
> >> >> >> Hi,
> >> >> >>
> >> >> >> usually you need two bundles for pax-logging.
> >> >> >> One is the pax-logging-service, the other one is the
> pax-logging-api
> >> >> >> bundle.
> >> >> >>
> >> >> >> Btw. talking of elderly documentation, if you see improvements for
> >> the
> >> >> >> documentation feel free to improve it.
> >> >> >> OPS4j is a very open community. Like you find an issue you fix it
> ;-)
> >> >> >>
> >> >> >> regards, Achim
> >> >> >>
> >> >> >>
> >> >> >> 2015-08-12 18:41 GMT+02:00 Benson Margulies <benson@basistech.com
> >:
> >> >> >>
> >> >> >>> The pax logging documentation is a bit elderly.
> >> >> >>>
> >> >> >>> My goal is to set up a shell in which bundles that import
> org.slf4j
> >> or
> >> >> >>> log4j API's are happy, and in which the resulting log messages
> are
> >> >> >>> visible (at least) to the felix:log commands. Is there a recipe
> >> >> >>> somewhere? When I try to add the pax logging service, I get
> >> >> >>>
> >> >> >>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
> >> >> >>> 12:29:35.130
> >> >> >>> !MESSAGE FrameworkEvent ERROR
> >> >> >>> !STACK 0
> >> >> >>> org.osgi.framework.BundleException: Could not resolve module:
> >> >> >>> org.ops4j.pax.logging.pax-logging-service [30]
> >> >> >>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
> >> >> >>> resolution:="optional"
> >> >> >>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
> >> >> >>> resolution:="optional"
> >> >> >>>   Unresolved requirement: Import-Package: javax.jmdns;
> >> >> >>> resolution:="optional"
> >> >> >>>   Unresolved requirement: Import-Package: javax.jms;
> >> >> >>> version="[1.1.0,2.0.0)"; resolution:="optional"
> >> >> >>>   Unresolved requirement: Import-Package: javax.mail;
> >> >> >>> resolution:="optional"
> >> >> >>>   Unresolved requirement: Import-Package: javax.mail.internet;
> >> >> >>> resolution:="optional"
> >> >> >>>   Unresolved requirement: Import-Package:
> >> >> >>> org.knopflerfish.service.log; provider="paxlogging";
> >> >> >>> version="[1.1.0,2.0.0)"
> >> >> >>>
> >> >> >>> I presume it's the last one that is killing me: why is a
> knoplerfish
> >> >> >>> package required?
> >> >> >>>
> >> >> >>>
> >> ---------------------------------------------------------------------
> >> >> >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> >> >>> For additional commands, e-mail: users-help@felix.apache.org
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >>
> >> >> >> 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
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> >> For additional commands, e-mail: users-help@felix.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> >
> >> > 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
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> For additional commands, e-mail: users-help@felix.apache.org
> >>
> >>
> >
> >
> > --
> >
> > 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 

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: Using felix:log and pax logging

Posted by Benson Margulies <be...@basistech.com>.
https://ops4j1.jira.com/browse/PAXEXAM-726 links to the PR.

Even after logging out and in, Confluence is not showing my any
ability to edit any wiki pages :-)


On Sat, Aug 15, 2015 at 12:34 PM, Achim Nierbeck
<bc...@googlemail.com> wrote:
> Benson,
>
> got a link?
>
> regards, Achim
>
> 2015-08-15 18:32 GMT+02:00 Benson Margulies <be...@basistech.com>:
>
>> Achim,
>>
>> Harold did pull my trivial addition to the exam plugin, but no one has
>> shown any sign of noticing my JIRA/PR for the change to allow adding
>> event handlers to the framework.
>>
>> --benson
>>
>>
>> On Sat, Aug 15, 2015 at 12:24 PM, Achim Nierbeck
>> <bc...@googlemail.com> wrote:
>> > Hi Benson,
>> >
>> > just did give you the access to confluence.
>> > Regarding Pax - Exam  pull request, if it's good we'll give you access to
>> > the repo :-)
>> >
>> > regards, Achim
>> >
>> >
>> > 2015-08-15 18:14 GMT+02:00 Benson Margulies <be...@basistech.com>:
>> >
>> >> Can you give me access to edit
>> >> https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?
>> >>
>> >> My profile on the wiki is attached to benson@basistech.com.
>> >>
>> >>
>> >> On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <
>> benson@basistech.com>
>> >> wrote:
>> >> > OK, away I go. I misunderstood the requirement to have the API bundle.
>> >> >
>> >> > p.s. Care to merge in my pull request in pax-exam?
>> >> >
>> >> >
>> >> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
>> >> > <bc...@googlemail.com> wrote:
>> >> >> Hi,
>> >> >>
>> >> >> usually you need two bundles for pax-logging.
>> >> >> One is the pax-logging-service, the other one is the pax-logging-api
>> >> >> bundle.
>> >> >>
>> >> >> Btw. talking of elderly documentation, if you see improvements for
>> the
>> >> >> documentation feel free to improve it.
>> >> >> OPS4j is a very open community. Like you find an issue you fix it ;-)
>> >> >>
>> >> >> regards, Achim
>> >> >>
>> >> >>
>> >> >> 2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:
>> >> >>
>> >> >>> The pax logging documentation is a bit elderly.
>> >> >>>
>> >> >>> My goal is to set up a shell in which bundles that import org.slf4j
>> or
>> >> >>> log4j API's are happy, and in which the resulting log messages are
>> >> >>> visible (at least) to the felix:log commands. Is there a recipe
>> >> >>> somewhere? When I try to add the pax logging service, I get
>> >> >>>
>> >> >>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
>> >> >>> 12:29:35.130
>> >> >>> !MESSAGE FrameworkEvent ERROR
>> >> >>> !STACK 0
>> >> >>> org.osgi.framework.BundleException: Could not resolve module:
>> >> >>> org.ops4j.pax.logging.pax-logging-service [30]
>> >> >>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
>> >> >>> resolution:="optional"
>> >> >>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
>> >> >>> resolution:="optional"
>> >> >>>   Unresolved requirement: Import-Package: javax.jmdns;
>> >> >>> resolution:="optional"
>> >> >>>   Unresolved requirement: Import-Package: javax.jms;
>> >> >>> version="[1.1.0,2.0.0)"; resolution:="optional"
>> >> >>>   Unresolved requirement: Import-Package: javax.mail;
>> >> >>> resolution:="optional"
>> >> >>>   Unresolved requirement: Import-Package: javax.mail.internet;
>> >> >>> resolution:="optional"
>> >> >>>   Unresolved requirement: Import-Package:
>> >> >>> org.knopflerfish.service.log; provider="paxlogging";
>> >> >>> version="[1.1.0,2.0.0)"
>> >> >>>
>> >> >>> I presume it's the last one that is killing me: why is a knoplerfish
>> >> >>> package required?
>> >> >>>
>> >> >>>
>> ---------------------------------------------------------------------
>> >> >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> >> >>> For additional commands, e-mail: users-help@felix.apache.org
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >> --
>> >> >>
>> >> >> 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
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> >> For additional commands, e-mail: users-help@felix.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> >
>> > 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using felix:log and pax logging

Posted by Achim Nierbeck <bc...@googlemail.com>.
Benson,

got a link?

regards, Achim

2015-08-15 18:32 GMT+02:00 Benson Margulies <be...@basistech.com>:

> Achim,
>
> Harold did pull my trivial addition to the exam plugin, but no one has
> shown any sign of noticing my JIRA/PR for the change to allow adding
> event handlers to the framework.
>
> --benson
>
>
> On Sat, Aug 15, 2015 at 12:24 PM, Achim Nierbeck
> <bc...@googlemail.com> wrote:
> > Hi Benson,
> >
> > just did give you the access to confluence.
> > Regarding Pax - Exam  pull request, if it's good we'll give you access to
> > the repo :-)
> >
> > regards, Achim
> >
> >
> > 2015-08-15 18:14 GMT+02:00 Benson Margulies <be...@basistech.com>:
> >
> >> Can you give me access to edit
> >> https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?
> >>
> >> My profile on the wiki is attached to benson@basistech.com.
> >>
> >>
> >> On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <
> benson@basistech.com>
> >> wrote:
> >> > OK, away I go. I misunderstood the requirement to have the API bundle.
> >> >
> >> > p.s. Care to merge in my pull request in pax-exam?
> >> >
> >> >
> >> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
> >> > <bc...@googlemail.com> wrote:
> >> >> Hi,
> >> >>
> >> >> usually you need two bundles for pax-logging.
> >> >> One is the pax-logging-service, the other one is the pax-logging-api
> >> >> bundle.
> >> >>
> >> >> Btw. talking of elderly documentation, if you see improvements for
> the
> >> >> documentation feel free to improve it.
> >> >> OPS4j is a very open community. Like you find an issue you fix it ;-)
> >> >>
> >> >> regards, Achim
> >> >>
> >> >>
> >> >> 2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:
> >> >>
> >> >>> The pax logging documentation is a bit elderly.
> >> >>>
> >> >>> My goal is to set up a shell in which bundles that import org.slf4j
> or
> >> >>> log4j API's are happy, and in which the resulting log messages are
> >> >>> visible (at least) to the felix:log commands. Is there a recipe
> >> >>> somewhere? When I try to add the pax logging service, I get
> >> >>>
> >> >>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
> >> >>> 12:29:35.130
> >> >>> !MESSAGE FrameworkEvent ERROR
> >> >>> !STACK 0
> >> >>> org.osgi.framework.BundleException: Could not resolve module:
> >> >>> org.ops4j.pax.logging.pax-logging-service [30]
> >> >>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
> >> >>> resolution:="optional"
> >> >>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
> >> >>> resolution:="optional"
> >> >>>   Unresolved requirement: Import-Package: javax.jmdns;
> >> >>> resolution:="optional"
> >> >>>   Unresolved requirement: Import-Package: javax.jms;
> >> >>> version="[1.1.0,2.0.0)"; resolution:="optional"
> >> >>>   Unresolved requirement: Import-Package: javax.mail;
> >> >>> resolution:="optional"
> >> >>>   Unresolved requirement: Import-Package: javax.mail.internet;
> >> >>> resolution:="optional"
> >> >>>   Unresolved requirement: Import-Package:
> >> >>> org.knopflerfish.service.log; provider="paxlogging";
> >> >>> version="[1.1.0,2.0.0)"
> >> >>>
> >> >>> I presume it's the last one that is killing me: why is a knoplerfish
> >> >>> package required?
> >> >>>
> >> >>>
> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> >>> For additional commands, e-mail: users-help@felix.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >> --
> >> >>
> >> >> 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
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >> For additional commands, e-mail: users-help@felix.apache.org
> >>
> >>
> >
> >
> > --
> >
> > 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 

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: Using felix:log and pax logging

Posted by Benson Margulies <be...@basistech.com>.
Achim,

Harold did pull my trivial addition to the exam plugin, but no one has
shown any sign of noticing my JIRA/PR for the change to allow adding
event handlers to the framework.

--benson


On Sat, Aug 15, 2015 at 12:24 PM, Achim Nierbeck
<bc...@googlemail.com> wrote:
> Hi Benson,
>
> just did give you the access to confluence.
> Regarding Pax - Exam  pull request, if it's good we'll give you access to
> the repo :-)
>
> regards, Achim
>
>
> 2015-08-15 18:14 GMT+02:00 Benson Margulies <be...@basistech.com>:
>
>> Can you give me access to edit
>> https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?
>>
>> My profile on the wiki is attached to benson@basistech.com.
>>
>>
>> On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <be...@basistech.com>
>> wrote:
>> > OK, away I go. I misunderstood the requirement to have the API bundle.
>> >
>> > p.s. Care to merge in my pull request in pax-exam?
>> >
>> >
>> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
>> > <bc...@googlemail.com> wrote:
>> >> Hi,
>> >>
>> >> usually you need two bundles for pax-logging.
>> >> One is the pax-logging-service, the other one is the pax-logging-api
>> >> bundle.
>> >>
>> >> Btw. talking of elderly documentation, if you see improvements for the
>> >> documentation feel free to improve it.
>> >> OPS4j is a very open community. Like you find an issue you fix it ;-)
>> >>
>> >> regards, Achim
>> >>
>> >>
>> >> 2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:
>> >>
>> >>> The pax logging documentation is a bit elderly.
>> >>>
>> >>> My goal is to set up a shell in which bundles that import org.slf4j or
>> >>> log4j API's are happy, and in which the resulting log messages are
>> >>> visible (at least) to the felix:log commands. Is there a recipe
>> >>> somewhere? When I try to add the pax logging service, I get
>> >>>
>> >>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
>> >>> 12:29:35.130
>> >>> !MESSAGE FrameworkEvent ERROR
>> >>> !STACK 0
>> >>> org.osgi.framework.BundleException: Could not resolve module:
>> >>> org.ops4j.pax.logging.pax-logging-service [30]
>> >>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
>> >>> resolution:="optional"
>> >>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
>> >>> resolution:="optional"
>> >>>   Unresolved requirement: Import-Package: javax.jmdns;
>> >>> resolution:="optional"
>> >>>   Unresolved requirement: Import-Package: javax.jms;
>> >>> version="[1.1.0,2.0.0)"; resolution:="optional"
>> >>>   Unresolved requirement: Import-Package: javax.mail;
>> >>> resolution:="optional"
>> >>>   Unresolved requirement: Import-Package: javax.mail.internet;
>> >>> resolution:="optional"
>> >>>   Unresolved requirement: Import-Package:
>> >>> org.knopflerfish.service.log; provider="paxlogging";
>> >>> version="[1.1.0,2.0.0)"
>> >>>
>> >>> I presume it's the last one that is killing me: why is a knoplerfish
>> >>> package required?
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> >>> For additional commands, e-mail: users-help@felix.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >>
>> >> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using felix:log and pax logging

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi Benson,

just did give you the access to confluence.
Regarding Pax - Exam  pull request, if it's good we'll give you access to
the repo :-)

regards, Achim


2015-08-15 18:14 GMT+02:00 Benson Margulies <be...@basistech.com>:

> Can you give me access to edit
> https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?
>
> My profile on the wiki is attached to benson@basistech.com.
>
>
> On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <be...@basistech.com>
> wrote:
> > OK, away I go. I misunderstood the requirement to have the API bundle.
> >
> > p.s. Care to merge in my pull request in pax-exam?
> >
> >
> > On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
> > <bc...@googlemail.com> wrote:
> >> Hi,
> >>
> >> usually you need two bundles for pax-logging.
> >> One is the pax-logging-service, the other one is the pax-logging-api
> >> bundle.
> >>
> >> Btw. talking of elderly documentation, if you see improvements for the
> >> documentation feel free to improve it.
> >> OPS4j is a very open community. Like you find an issue you fix it ;-)
> >>
> >> regards, Achim
> >>
> >>
> >> 2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:
> >>
> >>> The pax logging documentation is a bit elderly.
> >>>
> >>> My goal is to set up a shell in which bundles that import org.slf4j or
> >>> log4j API's are happy, and in which the resulting log messages are
> >>> visible (at least) to the felix:log commands. Is there a recipe
> >>> somewhere? When I try to add the pax logging service, I get
> >>>
> >>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
> >>> 12:29:35.130
> >>> !MESSAGE FrameworkEvent ERROR
> >>> !STACK 0
> >>> org.osgi.framework.BundleException: Could not resolve module:
> >>> org.ops4j.pax.logging.pax-logging-service [30]
> >>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
> >>> resolution:="optional"
> >>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
> >>> resolution:="optional"
> >>>   Unresolved requirement: Import-Package: javax.jmdns;
> >>> resolution:="optional"
> >>>   Unresolved requirement: Import-Package: javax.jms;
> >>> version="[1.1.0,2.0.0)"; resolution:="optional"
> >>>   Unresolved requirement: Import-Package: javax.mail;
> >>> resolution:="optional"
> >>>   Unresolved requirement: Import-Package: javax.mail.internet;
> >>> resolution:="optional"
> >>>   Unresolved requirement: Import-Package:
> >>> org.knopflerfish.service.log; provider="paxlogging";
> >>> version="[1.1.0,2.0.0)"
> >>>
> >>> I presume it's the last one that is killing me: why is a knoplerfish
> >>> package required?
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> >>> For additional commands, e-mail: users-help@felix.apache.org
> >>>
> >>>
> >>
> >>
> >> --
> >>
> >> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 

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: Using felix:log and pax logging

Posted by Benson Margulies <be...@basistech.com>.
Can you give me access to edit
https://ops4j1.jira.com/wiki/display/paxlogging/How+to+use+Pax+Logging?

My profile on the wiki is attached to benson@basistech.com.


On Sat, Aug 15, 2015 at 12:11 PM, Benson Margulies <be...@basistech.com> wrote:
> OK, away I go. I misunderstood the requirement to have the API bundle.
>
> p.s. Care to merge in my pull request in pax-exam?
>
>
> On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
> <bc...@googlemail.com> wrote:
>> Hi,
>>
>> usually you need two bundles for pax-logging.
>> One is the pax-logging-service, the other one is the pax-logging-api
>> bundle.
>>
>> Btw. talking of elderly documentation, if you see improvements for the
>> documentation feel free to improve it.
>> OPS4j is a very open community. Like you find an issue you fix it ;-)
>>
>> regards, Achim
>>
>>
>> 2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:
>>
>>> The pax logging documentation is a bit elderly.
>>>
>>> My goal is to set up a shell in which bundles that import org.slf4j or
>>> log4j API's are happy, and in which the resulting log messages are
>>> visible (at least) to the felix:log commands. Is there a recipe
>>> somewhere? When I try to add the pax logging service, I get
>>>
>>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
>>> 12:29:35.130
>>> !MESSAGE FrameworkEvent ERROR
>>> !STACK 0
>>> org.osgi.framework.BundleException: Could not resolve module:
>>> org.ops4j.pax.logging.pax-logging-service [30]
>>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
>>> resolution:="optional"
>>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
>>> resolution:="optional"
>>>   Unresolved requirement: Import-Package: javax.jmdns;
>>> resolution:="optional"
>>>   Unresolved requirement: Import-Package: javax.jms;
>>> version="[1.1.0,2.0.0)"; resolution:="optional"
>>>   Unresolved requirement: Import-Package: javax.mail;
>>> resolution:="optional"
>>>   Unresolved requirement: Import-Package: javax.mail.internet;
>>> resolution:="optional"
>>>   Unresolved requirement: Import-Package:
>>> org.knopflerfish.service.log; provider="paxlogging";
>>> version="[1.1.0,2.0.0)"
>>>
>>> I presume it's the last one that is killing me: why is a knoplerfish
>>> package required?
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>>
>> --
>>
>> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using felix:log and pax logging

Posted by Benson Margulies <be...@basistech.com>.
OK, away I go. I misunderstood the requirement to have the API bundle.

p.s. Care to merge in my pull request in pax-exam?


On Sat, Aug 15, 2015 at 12:09 PM, Achim Nierbeck
<bc...@googlemail.com> wrote:
> Hi,
>
> usually you need two bundles for pax-logging.
> One is the pax-logging-service, the other one is the pax-logging-api
> bundle.
>
> Btw. talking of elderly documentation, if you see improvements for the
> documentation feel free to improve it.
> OPS4j is a very open community. Like you find an issue you fix it ;-)
>
> regards, Achim
>
>
> 2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:
>
>> The pax logging documentation is a bit elderly.
>>
>> My goal is to set up a shell in which bundles that import org.slf4j or
>> log4j API's are happy, and in which the resulting log messages are
>> visible (at least) to the felix:log commands. Is there a recipe
>> somewhere? When I try to add the pax logging service, I get
>>
>> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
>> 12:29:35.130
>> !MESSAGE FrameworkEvent ERROR
>> !STACK 0
>> org.osgi.framework.BundleException: Could not resolve module:
>> org.ops4j.pax.logging.pax-logging-service [30]
>>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
>> resolution:="optional"
>>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
>> resolution:="optional"
>>   Unresolved requirement: Import-Package: javax.jmdns;
>> resolution:="optional"
>>   Unresolved requirement: Import-Package: javax.jms;
>> version="[1.1.0,2.0.0)"; resolution:="optional"
>>   Unresolved requirement: Import-Package: javax.mail;
>> resolution:="optional"
>>   Unresolved requirement: Import-Package: javax.mail.internet;
>> resolution:="optional"
>>   Unresolved requirement: Import-Package:
>> org.knopflerfish.service.log; provider="paxlogging";
>> version="[1.1.0,2.0.0)"
>>
>> I presume it's the last one that is killing me: why is a knoplerfish
>> package required?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
> --
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Using felix:log and pax logging

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,

usually you need two bundles for pax-logging.
One is the pax-logging-service, the other one is the pax-logging-api
bundle.

Btw. talking of elderly documentation, if you see improvements for the
documentation feel free to improve it.
OPS4j is a very open community. Like you find an issue you fix it ;-)

regards, Achim


2015-08-12 18:41 GMT+02:00 Benson Margulies <be...@basistech.com>:

> The pax logging documentation is a bit elderly.
>
> My goal is to set up a shell in which bundles that import org.slf4j or
> log4j API's are happy, and in which the resulting log messages are
> visible (at least) to the felix:log commands. Is there a recipe
> somewhere? When I try to add the pax logging service, I get
>
> !ENTRY org.ops4j.pax.logging.pax-logging-service 4 0 2015-08-12
> 12:29:35.130
> !MESSAGE FrameworkEvent ERROR
> !STACK 0
> org.osgi.framework.BundleException: Could not resolve module:
> org.ops4j.pax.logging.pax-logging-service [30]
>   Unresolved requirement: Import-Package: com.ibm.uvm.tools;
> resolution:="optional"
>   Unresolved requirement: Import-Package: com.sun.jdmk.comm;
> resolution:="optional"
>   Unresolved requirement: Import-Package: javax.jmdns;
> resolution:="optional"
>   Unresolved requirement: Import-Package: javax.jms;
> version="[1.1.0,2.0.0)"; resolution:="optional"
>   Unresolved requirement: Import-Package: javax.mail;
> resolution:="optional"
>   Unresolved requirement: Import-Package: javax.mail.internet;
> resolution:="optional"
>   Unresolved requirement: Import-Package:
> org.knopflerfish.service.log; provider="paxlogging";
> version="[1.1.0,2.0.0)"
>
> I presume it's the last one that is killing me: why is a knoplerfish
> package required?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 

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