Skip to content

Commit 1c892a2

Browse files
committed
feat(webcal): Added logback configuration files.
1 parent fc0cc6f commit 1c892a2

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright (C) 2023 CodeCraftersCN.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ 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+
~
15+
~ See the License for the specific language governing permissions and
16+
~ limitations under the License.
17+
-->
18+
19+
<configuration>
20+
21+
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />
22+
23+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
24+
<encoder>
25+
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} : %msg%n</pattern>
26+
</encoder>
27+
</appender>
28+
29+
<appender name="STDOUT-C" class="ch.qos.logback.core.ConsoleAppender">
30+
<encoder>
31+
<pattern>%date{yyyy-MM-dd HH:mm:ss} [%thread] %highlight(%-5level) %cyan(%logger{50}) : %msg%n</pattern>
32+
</encoder>
33+
</appender>
34+
35+
<root level="INFO">
36+
<appender-ref ref="STDOUT-C"/>
37+
</root>
38+
</configuration>

0 commit comments

Comments
 (0)