summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2018-04-10 16:01:46 -0400
committerJimmy Forsyth <jf2512@att.com>2018-04-10 16:01:49 -0400
commit0b423b9f21085ed2530a5d7530cbfe3cafc2d20e (patch)
treeeaaca5c8e8b33e16bd441da1b388fe02e5c84103
parent6408c3f5342cf4a274c81d73b09db3289697b01e (diff)
Update logback and model-loader.props
Issue-ID: AAI-1024 Issue-ID: AAI-1025 Change-Id: I328fc1d17e223b6a6fdd15f8f78e3b380ef27049 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
-rw-r--r--aai-traversal/appconfig/logback.xml13
-rw-r--r--model-loader/appconfig/model-loader.properties2
2 files changed, 14 insertions, 1 deletions
diff --git a/aai-traversal/appconfig/logback.xml b/aai-traversal/appconfig/logback.xml
index 31bfe10..57bb5f6 100644
--- a/aai-traversal/appconfig/logback.xml
+++ b/aai-traversal/appconfig/logback.xml
@@ -341,6 +341,16 @@
<pattern>"%d [%thread] %-5level %logger{1024} - %msg%n"</pattern>
</encoder>
</appender>
+ <appender name="miscLogs" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>${logDirectory}/misc/misc.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+ <fileNamePattern>${logDirectory}/misc/misc.log.%d{yyyy-MM-dd}</fileNamePattern>
+ </rollingPolicy>
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
<logger name="AuditRecord" level="INFO" additivity="false">
<appender-ref ref="auditLogs" />
</logger>
@@ -350,6 +360,9 @@
<logger name="PerfTrackerRecord" level="INFO" additivity="false">
<appender-ref ref="perfLogs" />
</logger>
+ <logger name="MiscRecord" level="INFO" additivity="false">
+ <appender-ref ref="miscLogs" />
+ </logger>
<!-- logback jms appenders & loggers definition ends here -->
<logger name="org.onap.aai.interceptors.post" level="DEBUG"
diff --git a/model-loader/appconfig/model-loader.properties b/model-loader/appconfig/model-loader.properties
index ee3ff7b..f6cbf50 100644
--- a/model-loader/appconfig/model-loader.properties
+++ b/model-loader/appconfig/model-loader.properties
@@ -11,7 +11,7 @@ ml.distribution.POLLING_INTERVAL=30
ml.distribution.POLLING_TIMEOUT=20
ml.distribution.USER=aai
ml.distribution.ARTIFACT_TYPES=MODEL_INVENTORY_PROFILE,MODEL_QUERY_SPEC,VNF_CATALOG
-ml.distribution.MSG_BUS_ADDRESSES=
+ml.distribution.MSG_BUS_ADDRESSES=10.0.11.1
# Model Loader AAI REST Client Configuration
ml.aai.BASE_URL=https://c1.vm1.aai.simpledemo.openecomp.org:8443