Hi,

Am Montag, den 07.03.2011, 23:24 +0000 schrieb Alasdair Nottingham: 
> Hi,
> 
> It should use slf4j really, everything else does.

Thanks, I am really relieved !

> Would you raise a JIRA for this?

For sure.

> 
> On the LogService can you point me to where the spec says this? I'm very 
> surprised to hear this since I was under the impression the spec made no such 
> requirement. The CT doesn't test this for sure

Its in the second section of 126.7 Traditional Client Model:

> This brokering role can only be played when the JNDI Implementation can set 
> the singletons as specified
> in Naming Manager Singletons on page 387. If the JNDI Implementation cannot 
> set these singletons
> then it should log an error with the Log Service, if available. It can then 
> not perform the
> following sections.


Regards
Felix

> 
> Alasdair Nottingham
> 
> On 7 Mar 2011, at 11:16, Felix Meschberger <[email protected]> wrote:
> 
> > Hi all,
> > 
> > I am looking at integrating Aries JNDI support into Apache Sling and
> > looking at the JNDI Core BundleActivator [1] I noticed that Java
> > platform logging is used.
> > 
> > Is this by intent ? Do you do all your (Aries) logging to the Java
> > platform logging ?
> > 
> > If so, I would have some tasks to do in Sling to try to redirect
> > platform logging into our own logging which is SLF4J based (and also
> > supports Log4j, Commons logging and of course OSGi LogService).
> > 
> > By that matter: According to the OSGi JNDI spec, failure to set
> > NamingManager singletons should be logged with the LogService. The
> > current implementation does not do this.
> > 
> > Thanks and Regards
> > Felix
> > 
> > [1]
> > http://svn.apache.org/repos/asf/aries/trunk/jndi/jndi-core/src/main/java/org/apache/aries/jndi/startup/Activator.java
> > 
> > 
> 


Reply via email to