Add asserts to silence Sonar warnings re tests
[portal/ric-dashboard.git] / webapp-backend / src / main / resources / logback.xml
index 26c9ffb..478e680 100644 (file)
@@ -3,7 +3,7 @@
   ========================LICENSE_START=================================
   O-RAN-SC
   %%
-  Copyright (C) 2019 AT&T Intellectual Property and Nokia
+  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.
   ========================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 - usually a volume in docker -->
+       <!-- gather files in a subdirectory -->
        <property name="logDirectory" value="logs" />
-       <!-- basic pattern -->
+       <!-- output pattern -->
        <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC} [%thread] %-5level %logger{36} - %msg%n"/>
 
        <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
                <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
                        <fileNamePattern>${logDirectory}/${componentName}.%i.log.zip</fileNamePattern>
                        <minIndex>1</minIndex>
-                       <maxIndex>5</maxIndex>
+                       <maxIndex>9</maxIndex>
                </rollingPolicy>
                <triggeringPolicy
                        class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
-                       <maxFileSize>1MB</maxFileSize>
+                       <maxFileSize>10MB</maxFileSize>
                </triggeringPolicy>
                <!-- defaults to type ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
                <encoder>
                <appender-ref ref="FILE" />
        </root>
 
-       <!-- Code under test should be chatty --> >
-       <logger name="org.oransc.ric.portal.dashboard" level="DEBUG" />
+       <!-- Code not under test should not be chatty --> >
+       <logger name="org.oransc.ric.portal.dashboard" level="INFO" />
+
+       <!-- Watch authentication done by EPSDK-FW -->
+       <logger name="org.onap.portalsdk.core.onboarding" level="INFO" />
 
-       <!-- Report URLs to the log -->
+       <!-- Report request URLs -->
        <logger name="org.springframework.web.client.RestTemplate" level="DEBUG" />
 
+       <!-- for debugging security
+       <logger name="org.springframework.security" level="DEBUG" />
+       -->
+
 </configuration>