Debian Codegraph @

activemq-ra/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=INFO
22
23 rootLogger.appenderRef.console.ref=Console
24 rootLogger.appenderRef.console.filter.threshold.type=ThresholdFilter
25 rootLogger.appenderRef.console.filter.threshold.level=INFO
26 rootLogger.appenderRef.logfile.ref=RollingFile
27
28 # Appender configuration
29
30 # Console appender
31 appender.console.type=Console
32 appender.console.name=Console
33 appender.console.layout.type=PatternLayout
34 appender.console.layout.pattern=%d [%-15.15t] - %-5p %-30.30c{1} - %m%n
35 #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
36
37 # RollingFile appender
38 appender.logfile.type=RollingRandomAccessFile
39 appender.logfile.name=RollingFile
40 appender.logfile.fileName=target/activemq-test.log
41 appender.logfile.filePattern=target/activemq-test.log.%i
42 appender.logfile.append=true
43 appender.logfile.layout.type=PatternLayout
44 appender.logfile.layout.pattern=%d [%-15.15t] - %-5p %-30.30c{1} - %m%n
45 #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
46 appender.logfile.policies.type=Policies
47 appender.logfile.policies.size.type=SizeBasedTriggeringPolicy
48 appender.logfile.policies.size.size=1MB