Hi Carl, Carl Hall schrieb: > What's the proper way to use logging within Sling? Should I go with > the LogService or one of the log bundles exported bits (slf4j, jcl, > LogBack)?
The short answer: it depends ;-) Generally, I would go for SLF4J, which is the main logging API used and provided. Both JCL and LOG4J are used by adapting to SLF4J. If you have simple OSGi bundles, you might also want to use the LogService. In the end all logging API go back to our own internal SLF4J SPI implementation. Regards Felix
