+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ========================LICENSE_START=================================
- O-RAN-SC
- %%
- Copyright (C) 2019 AT&T Intellectual Property
- %%
- 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.
- ========================LICENSE_END===================================
- -->
-
-<configuration>
-
- <!-- Basic logback configuration for dev and test -->
-
- <!-- component name is log file basename -->
- <property name="componentName" value="ric-dashboard"></property>
- <!-- gather files in a subdirectory -->
- <property name="logDirectory" value="logs" />
- <!-- output pattern -->
- <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC} [%thread] %-5level %logger{36} - %msg%n"/>
-
- <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
- <!-- defaults to type ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
- <encoder>
- <pattern>${pattern}</pattern>
- </encoder>
- </appender>
-
- <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <file>${logDirectory}/${componentName}.log</file>
- <append>true</append>
- <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
- <fileNamePattern>${logDirectory}/${componentName}.%i.log.zip</fileNamePattern>
- <minIndex>1</minIndex>
- <maxIndex>9</maxIndex>
- </rollingPolicy>
- <triggeringPolicy
- class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
- <maxFileSize>10MB</maxFileSize>
- </triggeringPolicy>
- <!-- defaults to type ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
- <encoder>
- <pattern>${pattern}</pattern>
- </encoder>
- </appender>
-
- <!-- Set default level for all loggers -->
- <root level="INFO">
- <appender-ref ref="CONSOLE" />
- <appender-ref ref="FILE" />
- </root>
-
- <!-- Code under test should be chatty --> >
- <logger name="org.oransc.ric.portal.dashboard" level="DEBUG" />
-
- <!-- Watch authentication done by EPSDK-FW -->
- <logger name="org.onap.portalsdk.core.onboarding.crossapi" level="DEBUG" />
-
- <!-- Report request URLs -->
- <logger name="org.springframework.web.client.RestTemplate" level="DEBUG" />
-
- <!-- for debugging security
- <logger name="org.springframework.security" level="DEBUG" />
- -->
-
-</configuration>