Skip to content

Commit 87c2be5

Browse files
authored
Add missing logback-test.xml to authz modules (apache#4940)
Since these modules are not Quarkus-enabled modules anymore, the convention in this project is to use Logback for tests, but the logback-test.xml file was missing and logs were being done at DEBUG level.
1 parent 5b6983e commit 87c2be5

3 files changed

Lines changed: 96 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<configuration debug="false">
23+
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
24+
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
25+
<encoder>
26+
<pattern>%date{ISO8601} [%thread] %-5level %logger{36} - %msg%n</pattern>
27+
</encoder>
28+
</appender>
29+
<root level="${test.log.level:-ERROR}">
30+
<appender-ref ref="console"/>
31+
</root>
32+
</configuration>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<configuration debug="false">
23+
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
24+
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
25+
<encoder>
26+
<pattern>%date{ISO8601} [%thread] %-5level %logger{36} - %msg%n</pattern>
27+
</encoder>
28+
</appender>
29+
<root level="${test.log.level:-ERROR}">
30+
<appender-ref ref="console"/>
31+
</root>
32+
</configuration>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!--
3+
4+
Licensed to the Apache Software Foundation (ASF) under one
5+
or more contributor license agreements. See the NOTICE file
6+
distributed with this work for additional information
7+
regarding copyright ownership. The ASF licenses this file
8+
to you under the Apache License, Version 2.0 (the
9+
"License"); you may not use this file except in compliance
10+
with the License. You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing,
15+
software distributed under the License is distributed on an
16+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17+
KIND, either express or implied. See the License for the
18+
specific language governing permissions and limitations
19+
under the License.
20+
21+
-->
22+
<configuration debug="false">
23+
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
24+
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
25+
<encoder>
26+
<pattern>%date{ISO8601} [%thread] %-5level %logger{36} - %msg%n</pattern>
27+
</encoder>
28+
</appender>
29+
<root level="${test.log.level:-ERROR}">
30+
<appender-ref ref="console"/>
31+
</root>
32+
</configuration>

0 commit comments

Comments
 (0)