1 <?xml version="1.0" encoding="UTF-8"?>
2 <Configuration status="WARN" monitorInterval="30">
4 <Property name="LOG_PATTERN">
5 %d{yyyy-MM-dd HH:mm:ss.SSS} %5p ${hostName} --- [%15.15t] %-40.40c{1.} : %m%n%ex
10 <!-- <Console name="ConsoleAppender" target="SYSTEM_OUT" follow="true">
11 <PatternLayout pattern="${LOG_PATTERN}"/>
14 <!-- Rolling File Appender -->
15 <RollingFile name="FileAppender" fileName="logs/sdnc_report_api.log"
16 filePattern="logs/sdnc_report_api-%d{yyyy-MM-dd}-%i.log">
18 <Pattern>${LOG_PATTERN}</Pattern>
21 <SizeBasedTriggeringPolicy size="10MB" />
23 <DefaultRolloverStrategy max="10"/>
29 <Logger name="com.onap.sdnc.reports" level="debug" additivity="false">
30 <AppenderRef ref="FileAppender" />
34 <!-- <AppenderRef ref="ConsoleAppender" /> -->
35 <AppenderRef ref="FileAppender"/>