Arg...
I just edited the names in my mail, and did a poor job of that.
> > public class CustomAppender
>
> > final PaxAppender appender = new LinkinAppender();
>
> Uh... Should it be the same?
Yes, in reality, it's
public class LinkinAppender
I just changed the name to "CustomAppender" in
On Sat, Sep 27, 2008 at 1:45 PM, David Leangen <[EMAIL PROTECTED]> wrote:
First, let's sort out your typos;
> public class CustomAppender
> final PaxAppender appender = new LinkinAppender();
Uh... Should it be the same?
> log4j.rootLogger = osgi:Custom
I might remember wrongly, but should "Le
> >> So in short, the appender must be registered in the OSGi registry
> >> using the org.ops4j.pax.logging.spi.PaxAppender interface and have a
> >> service property named org.ops4j.pax.logging.appender.name. The value
> >> of this property can be referenced using osgi:[value].
Hi, Guillaume,
T
No, the "osgi:" stuff is how pax logging will recognize a pax appender
and will look for the appender in the OSGi registry.
Spring is irrelevant here, it's just how we register the pax appender
in the OSGi registry.
See
https://scm.ops4j.org/repos/ops4j/qa/pax/pax-logging-1.1.1/service/src/main/ja
On Fri, Sep 26, 2008 at 5:19 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> We've written one in ServiceMix and have found no problem with it.
> The appender is exported in the OSGi registry using spring and the
> following beans:
Thanks for the heads-up. Now when you mention it, I think I recal
We've written one in ServiceMix and have found no problem with it.
The appender is exported in the OSGi registry using spring and the
following beans:
VmLogAppender
Then,
Man, I must be lysdexic... I wrote "customer" twice instead of "custom".
Or maybe my hands just have minds of their own...
Anyho...
> > What is the way to add a customer appender when using pax-logging?
>
> The mechanism exist, but is not fully tested. It is a matter of
> creating them in
On Fri, Sep 26, 2008 at 3:15 PM, David Leangen <[EMAIL PROTECTED]> wrote:
>
> What is the way to add a customer appender when using pax-logging?
The mechanism exist, but is not fully tested. It is a matter of
creating them in your own bundles and register them to the Service
Registry.
Cheers
Nicl
Hey,
What is the way to add a customer appender when using pax-logging?
Thanks!
=David.Leangen
___
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general