diff options
Diffstat (limited to 'onap/aai/model-loader')
-rw-r--r-- | onap/aai/model-loader/conf/logback.xml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/onap/aai/model-loader/conf/logback.xml b/onap/aai/model-loader/conf/logback.xml index 3443688..d512d3b 100644 --- a/onap/aai/model-loader/conf/logback.xml +++ b/onap/aai/model-loader/conf/logback.xml @@ -2,12 +2,10 @@ <!--<jmxConfigurator /> --> <!-- directory path for all other type logs --> <property name="logDir" value="/var/log/onap" /> - <!-- specify the component name <ECOMP-component-name>::= "MSO" | "DCAE" - | "ASDC " | "AAI" |"Policy" | "SDNC" | "AC" --> <property name="componentName" value="aai"></property> <property name="subComponentName" value="aai-ml"></property> <property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" /> - <!-- default eelf log file names --> + <!-- default eelf log file names --> <property name="generalLogName" value="error" /> <property name="metricsLogName" value="metrics" /> <property name="auditLogName" value="audit" /> @@ -16,7 +14,7 @@ <property name="maxFileSize" value="50MB" /> <property name="maxHistory" value="30" /> <property name="totalSizeCap" value="10GB" /> - <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC}\t[%thread]\t%-5level\t%logger{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" /> + <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" /> <!-- Example evaluator filter applied against console appender --> <appender class="ch.qos.logback.core.ConsoleAppender" name="STDOUT"> <encoder> @@ -47,7 +45,7 @@ <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>INFO</level> </filter> - <queueSize>256</queueSize> + <queueSize>${queueSize}</queueSize> <appender-ref ref="EELF" /> </appender> <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFAudit"> @@ -65,7 +63,7 @@ </encoder> </appender> <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFAudit"> - <queueSize>256</queueSize> + <queueSize>${queueSize}</queueSize> <appender-ref ref="EELFAudit" /> </appender> <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFMetrics"> @@ -83,7 +81,7 @@ </encoder> </appender> <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFMetrics"> - <queueSize>256</queueSize> + <queueSize>${queueSize}</queueSize> <appender-ref ref="EELFMetrics" /> </appender> <appender class="ch.qos.logback.core.rolling.RollingFileAppender" name="EELFDebug"> @@ -101,7 +99,7 @@ </encoder> </appender> <appender class="ch.qos.logback.classic.AsyncAppender" name="asyncEELFDebug"> - <queueSize>256</queueSize> + <queueSize>${queueSize}</queueSize> <appender-ref ref="EELFDebug" /> <includeCallerData>true</includeCallerData> </appender> @@ -161,4 +159,3 @@ <!-- <appender-ref ref="asyncEELFDebug" /> --> </root> </configuration> - |