Log simulator output at INFO level
[policy/models.git] / models-sim / packages / models-simulator-tarball / src / main / resources / etc / logback.xml
1 <!--
2   ============LICENSE_START=======================================================
3    Copyright (C) 2020 AT&T Intellectual Property.
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   See the License for the specific language governing permissions and
15   limitations under the License.
16
17   SPDX-License-Identifier: Apache-2.0
18   ============LICENSE_END=========================================================
19 -->
20
21 <configuration scan="true" scanPeriod="30 seconds" debug="false">
22
23     <!--
24         This is only used for testing and only a snapshot docker image is generated,
25         thus it is not necessary for the messages to following the ONAP standard.
26         Therefore, keeping it short so it's easier to wade through the output.
27
28         Also sending all output to stdout instead of to a log file; it can be viewed
29         via "docker logs" or captured by kubernetes.
30      -->
31
32     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
33         <encoder>
34             <Pattern>%d %level  %msg%n</Pattern>
35         </encoder>
36     </appender>
37
38     <root level="INFO">
39         <appender-ref ref="STDOUT" />
40     </root>
41
42 </configuration>