]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.core/META-INF/spring/logger.xml
Move secure log4j logger declaration from security.ui to security.core in order to...
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / META-INF / spring / logger.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
6
7 <!-- Log4j appender singleton -->
8 <bean id="secureLogger" class="org.argeo.security.log4j.SecureLogger"
9 init-method="init" destroy-method="destroy">
10 <property name="configuration">
11 <value><![CDATA[
12 log4j.rootLogger=WARN, console
13
14 ## Levels
15 log4j.logger.org.argeo=DEBUG
16 log4j.logger.org.argeo.jackrabbit.remote.ExtendedDispatcherServlet=ERROR
17 log4j.logger.org.springframework.web.servlet.PageNotFound=ERROR
18 log4j.logger.org.argeo.server.webextender.TomcatDeployer=WARN
19
20 log4j.logger.org.apache.coyote=INFO
21 log4j.logger.org.apache.catalina.core.ContainerBase=INFO
22 log4j.logger.org.apache.directory.server=ERROR
23 log4j.logger.org.apache.jackrabbit.core.query.lucene=ERROR
24 log4j.logger.org.apache.jackrabbit.core.config.ConfigurationErrorHandler=ERROR
25 log4j.logger.org.apache.jackrabbit.core.util.db.DbUtility=FATAL
26 log4j.logger.org.apache.activemq=INFO
27 log4j.logger.org.apache.activemq.ActiveMQMessageConsumer=INFO
28 log4j.logger.org.apache.activemq.ActiveMQMessageProducer=INFO
29
30 log4j.appender.console=org.apache.log4j.ConsoleAppender
31 log4j.appender.console.layout=org.apache.log4j.PatternLayout
32 log4j.appender.console.layout.ConversionPattern=%d{yyMMdd HH:mm:ss} %-5p %m [%t] %c%n
33 ]]></value>
34 </property>
35 </bean>
36 </beans>