Hi Peter, SLF4J is used to log messages and can be configured to use log4j very much like Jakarta Commons Logging.
You just need to add the jar slf4j-log4j12-1.0.jar to the classpath. For more information, see: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05003.html -- Sébastien Launay Peter Koch a écrit : > Hi at all, > I've got a short question: > Is it possible to stop Jackrabbit printing information on console or > configure them with an Logging-System like Log4J? > > typical example of printing: > " > 187 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Starting > repository... > 234 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - > LocalFileSystem initialized at path *** > 625 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - > LocalFileSystem initialized at path *** > 1265 [main] INFO > org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager > - Database: H2 / 1.0.74 (2008-06-21) > 1265 [main] INFO > org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager > - Driver: H2 JDBC Driver / 1.0.74 (2008-06-21) > 1406 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - initializing > workspace 'default'... > 1406 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - > LocalFileSystem initialized at path *** > 1406 [main] INFO > org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager > - Database: H2 / 1.0.74 (2008-06-21) > 1406 [main] INFO > org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager > - Driver: H2 JDBC Driver / 1.0.74 (2008-06-21) > 1625 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - workspace > 'default' initialized > 1922 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - > LocalFileSystem initialized at path *** > 2078 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index > initialized: *** > 2078 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem - > LocalFileSystem initialized at path *** > 2156 [main] INFO org.apache.jackrabbit.core.query.lucene.SearchIndex - Index > initialized: *** > 2156 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository > started > 2156 [main] INFO org.apache.jackrabbit.core.TransientRepository - Transient > repository initialized > 2187 [main] INFO org.apache.jackrabbit.core.TransientRepository - Session > opened > " > > thanks a lot, > Peter > >
