summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/logback.xml
diff options
context:
space:
mode:
authorzhuguanyu <zhuguanyu5@huawei.com>2022-08-10 16:55:56 +0800
committerzhuguanyu <zhuguanyu5@huawei.com>2022-08-10 16:59:18 +0800
commit2d13c3e71c1189c57b504cb2202fff72debb6786 (patch)
tree80db6f494ca027801ba7c6aca3a5896b2bb70640 /intentanalysis/src/main/resources/logback.xml
parent96d16d95ec27c62722a601f5bf8e735965692b8f (diff)
Add logs for uui intent-analysis server
Issue-ID: USECASEUI-708 Signed-off-by: zhuguanyu <zhuguanyu5@huawei.com> Change-Id: Iab2a9f71a7142f31ca9c3dd7444636ae96b46add
Diffstat (limited to 'intentanalysis/src/main/resources/logback.xml')
-rw-r--r--intentanalysis/src/main/resources/logback.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/logback.xml b/intentanalysis/src/main/resources/logback.xml
new file mode 100644
index 0000000..dc4d415
--- /dev/null
+++ b/intentanalysis/src/main/resources/logback.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2022 Huawei Technologies Co., Ltd. All rights reserved.
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<configuration>
+ <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
+ <Target>System.out</Target>
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss:SSS} %5p ${PID} --- [%15.15t] %-40.40c{40} : %m%n</pattern>
+ </encoder>
+ </appender>
+ <root level="info">
+ <appender-ref ref="stdout"/>
+ </root>
+</configuration> \ No newline at end of file