"Fossies" - the Fresh Open Source Software Archive 
Member "apache-log4j-2.12.4-src/log4j-core/src/test/resources/configPropertyTest.xml" (20 Dec 2021, 1781 Bytes) of package /linux/misc/apache-log4j-2.12.4-src.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "configPropertyTest.xml":
2.17.2_vs_2.18.0.
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ~ Licensed to the Apache Software Foundation (ASF) under one or more
4 ~ contributor license agreements. See the NOTICE file distributed with
5 ~ this work for additional information regarding copyright ownership.
6 ~ The ASF licenses this file to You under the Apache License, Version 2.0
7 ~ (the "License"); you may not use this file except in compliance with
8 ~ the License. You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
17 -->
18 <Configuration status="ERROR">
19 <Properties>
20 <Property name="emptyElementKey" />
21 <Property name="emptyAttributeKey" value="" />
22 <Property name="emptyAttributeKey2" value=""></Property>
23 <Property name="elementKey">elementValue</Property>
24 <Property name="attributeKey" value="attributeValue" />
25 <Property name="attributeWithEmptyElementKey" value="attributeValue2"></Property>
26 <Property name="bothElementAndAttributeKey" value="attributeValue3">elementValue3</Property>
27 </Properties>
28 <Appenders>
29 <List name="List">
30 <PatternLayout pattern="1=${sys:elementKey},2=${sys:emptyElementKey},a=${sys:emptyAttributeKey},b=${sys:emptyAttributeKey2},3=${sys:attributeKey},4=${sys:attributeWithEmptyElementKey},5=${sys:bothElementAndAttributeKey},m=%m" />
31 </List>
32 </Appenders>
33 <Loggers>
34 <Root level="trace">
35 <AppenderRef ref="List" />
36 </Root>
37 </Loggers>
38 </Configuration>