Debian Codegraph @

activemq-jdbc-store/src/test/resources/log4j2-test.properties

raw
1 ## ---------------------------------------------------------------------------
2 ## Licensed to the Apache Software Foundation (ASF) under one or more
3 ## contributor license agreements. See the NOTICE file distributed with
4 ## this work for additional information regarding copyright ownership.
5 ## The ASF licenses this file to You under the Apache License, Version 2.0
6 ## (the "License"); you may not use this file except in compliance with
7 ## the License. You may obtain a copy of the License at
8 ##
9 ## http://www.apache.org/licenses/LICENSE-2.0
10 ##
11 ## Unless required by applicable law or agreed to in writing, software
12 ## distributed under the License is distributed on an "AS IS" BASIS,
13 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ## See the License for the specific language governing permissions and
15 ## limitations under the License.
16 ## ---------------------------------------------------------------------------
17
18 #
19 # The logging properties used during tests
20 #
21 rootLogger.level=DEBUG
22 rootLogger.appenderRef.console.ref=Console
23 rootLogger.appenderRef.console.filter.threshold.type=ThresholdFilter
24 rootLogger.appenderRef.console.filter.threshold.level=INFO
25 rootLogger.appenderRef.logfile.ref=RollingFile
26
27 #logger.scheduler.name=org.apache.activemq.broker.scheduler
28 #logger.scheduler.level=DEBUG
29 #logger.network.name=org.apache.activemq.network.DemandForwardingBridgeSupport
30 #logger.network.level=DEBUG
31 #logger.failover.name=org.apache.activemq.transport.failover
32 #logger.failover.level=TRACE
33 #logger.jdbc.name=org.apache.activemq.store.jdbc
34 #logger.jdbc.level=TRACE
35 #logger.cursors.name=org.apache.activemq.broker.region.cursors.AbstractStoreCursor
36 #logger.cursors.level=DEBUG
37
38 # Appender configuration
39
40 # Console appender
41 appender.console.type=Console
42 appender.console.name=Console
43 appender.console.layout.type=PatternLayout
44 appender.console.layout.pattern=%d [%-15.15t] - %-5p %-30.30c{1} - %m%n
45 #appender.console.layout.pattern=%d [%-15.15t] - %-5p %-30.30c{1} - %-10.10X{activemq.broker} %-20.20X{activemq.connector} %-10.10X{activemq.destination} - %m%n
46
47 # RollingFile appender
48 appender.logfile.type=RollingRandomAccessFile
49 appender.logfile.name=RollingFile
50 appender.logfile.fileName=target/activemq-test.log
51 appender.logfile.filePattern=target/activemq-test.log.%i
52 appender.logfile.append=true
53 appender.logfile.layout.type=PatternLayout
54 appender.logfile.layout.pattern=%d [%-15.15t] - %-5p %-30.30c{1} - %m%n
55 #appender.logfile.layout.pattern=%d [%-15.15t] - %-5p %-30.30c{1} - %-10.10X{activemq.broker} %-20.20X{activemq.connector} %-10.10X{activemq.destination} - %m%n
56 appender.logfile.policies.type=Policies
57 appender.logfile.policies.size.type=SizeBasedTriggeringPolicy
58 appender.logfile.policies.size.size=1MB