DMAAP-BC - Update Release Note Date
[dmaap/buscontroller.git] / dmaap-bc / src / main / webapp / WEB-INF / log4j2.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   Copyright (C) 2021 Nordix Foundation.
5   ================================================================================
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   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   SPDX-License-Identifier: Apache-2.0
19   ============LICENSE_END=========================================================
20   -->
21
22 <Configuration status="WARN">
23     <Appenders>
24         <!-- Console Appender -->
25         <Console name="STDOUT" target="SYSTEM_OUT">
26             <PatternLayout pattern="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
27         </Console>
28
29         <!-- Rolling File Appender -->
30         <RollingFile name="rollingFile">
31             <FileName>dmaapBC.log</FileName>
32             <FilePattern>${date:yyyy-MM}/dmaapBC-%d{yyyy-MM-dd}-%i.log.gz</FilePattern>
33             <PatternLayout>
34                 <Pattern>[%d{HH:mm:ss:SSS}] - %-6p - %c.%M() - %m%n</Pattern>
35             </PatternLayout>
36             <Policies>
37                 <SizeBasedTriggeringPolicy size="1000 KB"/>
38             </Policies>
39             <DefaultRolloverStrategy max="3"/>
40         </RollingFile>
41     </Appenders>
42     <Loggers>
43         <Logger name="org.openecomp.dcae.dmaapBC" level="debug" additivity="false">
44             <AppenderRef ref="rollingFile"/>
45         </Logger>
46         <Root level="ALL">
47             <AppenderRef ref="STDOUT"/>
48         </Root>
49     </Loggers>
50 </Configuration>