From: Dominik Mizyn Date: Wed, 26 Aug 2020 06:39:34 +0000 (+0200) Subject: [AAI] Add logs to STDOUT X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=befaa5500924f9ebda0b4bf65d8d6ab5a9f0745a;p=aai%2Foom.git [AAI] Add logs to STDOUT This commit add STDOUT appender to root level logging. Additionally, it approximates the logback.xml file to ONAP Application Logging Specification v1.2 Issue-ID: OOM-2514 Signed-off-by: Dominik Mizyn Change-Id: Iee075bb1400fd2ab2afbc39bf87e93f269ebaf84 --- diff --git a/components/aai-babel/requirements.yaml b/components/aai-babel/requirements.yaml index 8297688..5fcafdb 100644 --- a/components/aai-babel/requirements.yaml +++ b/components/aai-babel/requirements.yaml @@ -1,5 +1,6 @@ # Copyright © 2018 Amdocs, AT&T # Modifications Copyright © 2018 Bell Canada +# Modifications Copyright © 2020 Samsung Electronics # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,4 +20,4 @@ dependencies: # local reference to common chart, as it is # a part of this chart's package and will not # be published independently to a repo (at this point) - repository: '@local' + repository: '@local' \ No newline at end of file diff --git a/components/aai-babel/resources/config/logback.xml b/components/aai-babel/resources/config/logback.xml index 878d8c0..b8e8ad0 100644 --- a/components/aai-babel/resources/config/logback.xml +++ b/components/aai-babel/resources/config/logback.xml @@ -1,6 +1,7 @@ @@ -27,6 +28,13 @@ + + + + + + + @@ -36,6 +44,9 @@ + + + @@ -131,64 +142,72 @@ false - - - - - - - - - + + + ${consolePattern} + + - - + + - - + + - - + + - - + + - + - - - + + + - - + + - - - - - - - + + + + + + + + - - + + + + + + + + + + + + + diff --git a/components/aai-babel/resources/fproxy/config/logback-spring.xml b/components/aai-babel/resources/fproxy/config/logback-spring.xml index 0637cfb..aa37596 100644 --- a/components/aai-babel/resources/fproxy/config/logback-spring.xml +++ b/components/aai-babel/resources/fproxy/config/logback-spring.xml @@ -4,12 +4,10 @@ - - - %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable - + {{ .Values.log.consolePattern.babel.froxy }} @@ -34,12 +32,12 @@ - + - + - + \ No newline at end of file diff --git a/components/aai-babel/resources/rproxy/config/logback-spring.xml b/components/aai-babel/resources/rproxy/config/logback-spring.xml index 2cd95d4..368367d 100644 --- a/components/aai-babel/resources/rproxy/config/logback-spring.xml +++ b/components/aai-babel/resources/rproxy/config/logback-spring.xml @@ -4,12 +4,10 @@ - - - %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable - + {{ .Values.log.consolePattern.babel.rproxy }} @@ -34,12 +32,12 @@ - + - + - + diff --git a/components/aai-babel/values.yaml b/components/aai-babel/values.yaml index 6f2c033..d2eeb6c 100644 --- a/components/aai-babel/values.yaml +++ b/components/aai-babel/values.yaml @@ -68,6 +68,32 @@ ingress: config: ssl: "redirect" +log: + logDir: {{ .Values.log.logDir }} + root: + level: {{ .Values.log.root.level.babel }} + consolePattern: + babel: + config: {{ .Values.log.consolePattern.babel.config }} + froxy: {{ .Values.log.consolePattern.babel.froxy }} + rproxy: {{ .Values.log.consolePattern.babel.rproxy }} + logger: + apache: {{ .Values.log.logger.apache }} + apacheCamel: {{ .Values.log.logger.apacheCamel }} + apacheCamelComponentRestlet: {{ .Values.log.logger.apacheCamelComponentRestlet }} + apacheCamelProcessorInterceptor: {{ .Values.log.logger.apacheCamelProcessorInterceptor }} + apacheCommons: {{ .Values.log.logger.apacheCommons }} + apacheCxf: {{ .Values.log.logger.apacheCxf }} + apacheCxfJaxrsInterceptor: {{ .Values.log.logger.apacheCxfJaxrsInterceptor }} + apacheCxfService: {{ .Values.log.logger.apacheCxfService }} + att: {{ .Values.log.logger.att }} + qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} + qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} + restlet: {{ .Values.log.logger.restlet }} + springframework: {{ .Values.log.logger.springframework }} + springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} + springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} + resources: small: limits: diff --git a/components/aai-graphadmin/resources/config/logback.xml b/components/aai-graphadmin/resources/config/logback.xml index 553de3f..3862167 100644 --- a/components/aai-graphadmin/resources/config/logback.xml +++ b/components/aai-graphadmin/resources/config/logback.xml @@ -52,13 +52,13 @@ + - - %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx} - + {{ .Values.log.consolePattern }} + ${logDirectory}/rest/sane.log @@ -735,57 +735,57 @@ - - - - - + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - + + + + + + + + + + - - - + + + @@ -839,6 +839,7 @@ true + @@ -938,20 +939,21 @@ - - - - - + + + + + - + - + + diff --git a/components/aai-graphadmin/values.yaml b/components/aai-graphadmin/values.yaml index 2527cea..7379077 100644 --- a/components/aai-graphadmin/values.yaml +++ b/components/aai-graphadmin/values.yaml @@ -3,6 +3,7 @@ # org.onap.aai # ================================================================================ # Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# Modifications Copyright © 2020 Samsung Electronics # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -133,6 +134,63 @@ persistence: mountSubPath: aai/aai-graphadmin mountSubPath1: aai/migration +log: + logDir: {{ .Values.log.logDir }} + root: + level: {{ .Values.log.root.level.graphadmin }} + consolePattern: {{ .Values.log.consolePattern.graphadmin }} + logger: + ajsc: {{ .Values.log.logger.ajsc }} + ajscBeansInterceptors: {{ .Values.log.logger.ajscBeansInterceptors }} + ajscComputeService: {{ .Values.log.logger.ajscComputeService }} + ajscFilePersistenceService: {{ .Values.log.logger.ajscFilePersistenceService }} + ajscFilters: {{ .Values.log.logger.ajscFilters }} + ajscLoggingConfigurationService: {{ .Values.log.logger.ajscLoggingConfigurationService }} + ajscRestlet: {{ .Values.log.logger.ajscRestlet }} + ajscRouteMgmtService: {{ .Values.log.logger.ajscRouteMgmtService }} + ajscServlet: {{ .Values.log.logger.ajscServlet }} + ajscUserDefinedBeansDefService: {{ .Values.log.logger.ajscUserDefinedBeansDefService }} + ajscUserDefinedJarService: {{ .Values.log.logger.ajscUserDefinedJarService }} + ajscUtils: {{ .Values.log.logger.ajscUtils }} + ajscUtilsDME2Helper: {{ .Values.log.logger.ajscUtilsDME2Helper }} + ajscVandelayService: {{ .Values.log.logger.ajscVandelayService }} + apache: {{ .Values.log.logger.apache }} + apacheCamel: {{ .Values.log.logger.apacheCamel }} + apacheCamelComponentRestlet: {{ .Values.log.logger.apacheCamelComponentRestlet }} + apacheCamelProcessorInterceptor: {{ .Values.log.logger.apacheCamelProcessorInterceptor }} + apacheCommons: {{ .Values.log.logger.apacheCommons }} + apacheCommonsHttpclient: {{ .Values.log.logger.apacheCommonsHttpclient }} + apacheCoyote: {{ .Values.log.logger.apacheCoyote }} + apacheCxf: {{ .Values.log.logger.apacheCxf }} + apacheCxfJaxrsInterceptor: {{ .Values.log.logger.apacheCxfJaxrsInterceptor }} + apacheCxfService: {{ .Values.log.logger.apacheCxfService }} + apacheJasper: {{ .Values.log.logger.apacheJasper }} + apacheZookeeper: {{ .Values.log.logger.apacheZookeeper }} + attAftDme2: {{ .Values.log.logger.attAftDme2 }} + attAjsc: {{ .Values.log.logger.attAjsc }} + attAjscCsiLogging: {{ .Values.log.logger.attAjscCsiLogging }} + attAjscFilemonitor: {{ .Values.log.logger.attAjscFilemonitor }} + attEelf: {{ .Values.log.logger.attEelf }} + attScamper: {{ .Values.log.logger.attScamper }} + blogSpringJms: {{ .Values.log.logger.blogSpringJms }} + codehausGroovy: {{ .Values.log.logger.codehausGroovy }} + eclipseJetty: {{ .Values.log.logger.eclipseJetty }} + hibernate: {{ .Values.log.logger.hibernate }} + hibernateEjb: {{ .Values.log.logger.hibernateEjb }} + hibernateValidator: {{ .Values.log.logger.hibernateValidator }} + janusgraph: {{ .Values.log.logger.janusgraph }} + jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }} + netflix: {{ .Values.log.logger.netflix }} + netflixLoadbalancer: {{ .Values.log.logger.netflixLoadbalancer }} + qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} + qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} + restlet: {{ .Values.log.logger.restlet }} + sf: {{ .Values.log.logger.sf }} + springframework: {{ .Values.log.logger.springframework }} + springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} + springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} + zookeeper: {{ .Values.log.logger.zookeeper }} + resources: small: limits: diff --git a/components/aai-resources/resources/config/logback.xml b/components/aai-resources/resources/config/logback.xml index ba06414..f532b4f 100644 --- a/components/aai-resources/resources/config/logback.xml +++ b/components/aai-resources/resources/config/logback.xml @@ -5,6 +5,7 @@ ================================================================================ Copyright © 2017 AT&T Intellectual Property. All rights reserved. Modifications Copyright © 2018 Amdocs, Bell Canada + Modifications Copyright © 2020 Samsung Electronics ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -59,9 +60,7 @@ - - %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx} - + {{ .Values.log.consolePattern.config }} @@ -280,23 +279,23 @@ - - + + - - + + - - - - - + + + + + - - - - - + + + + + @@ -335,7 +334,7 @@ - + diff --git a/components/aai-resources/resources/fproxy/config/logback-spring.xml b/components/aai-resources/resources/fproxy/config/logback-spring.xml index 9a08348..6d24a23 100644 --- a/components/aai-resources/resources/fproxy/config/logback-spring.xml +++ b/components/aai-resources/resources/fproxy/config/logback-spring.xml @@ -3,16 +3,14 @@ - - - - %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable - + {{ .Values.log.consolePattern.fproxy }} - + ${LOGS}/${FILEPREFIX}.log @@ -32,14 +30,14 @@ - + - + - + - + - + \ No newline at end of file diff --git a/components/aai-resources/resources/rproxy/config/logback-spring.xml b/components/aai-resources/resources/rproxy/config/logback-spring.xml index 799fd86..c0c506a 100644 --- a/components/aai-resources/resources/rproxy/config/logback-spring.xml +++ b/components/aai-resources/resources/rproxy/config/logback-spring.xml @@ -4,12 +4,10 @@ - - - %d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable - + {{ .Values.log.consolePattern.rproxy }} @@ -32,14 +30,14 @@ - + - + - + - + - + diff --git a/components/aai-resources/values.yaml b/components/aai-resources/values.yaml index b71c9c4..82f8a36 100644 --- a/components/aai-resources/values.yaml +++ b/components/aai-resources/values.yaml @@ -84,6 +84,33 @@ service: ingress: enabled: false +log: + logDir: {{ .Values.log.logDir }} + root: + level: + config: {{ .Values.log.root.level.resources.config }} + fproxy: {{ .Values.log.root.level.resources.fproxy }} + rproxy: {{ .Values.log.root.level.resources.rproxy }} + consolePattern: + config: {{ .Values.log.consolePattern.resources.config }} + fproxy: {{ .Values.log.consolePattern.resources.fproxy }} + rproxy: {{ .Values.log.consolePattern.resources.rproxy }} + loggger: + apache: {{ .Values.log.logger.apache }} + apacheCommons: {{ .Values.log.logger.apacheCommons }} + apacheZookeeper: {{ .Values.log.logger.apacheZookeeper }} + attAftDme2: {{ .Values.log.logger.attAftDme2 }} + codehausGroovy: {{ .Values.log.logger.codehausGroovy }} + eclipseJetty: {{ .Values.log.logger.eclipseJetty }} + janusgraph: {{ .Values.log.logger.janusgraph }} + jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }} + qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} + qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} + springframework: {{ .Values.log.logger.springframework }} + springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} + springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} + zookeeper: {{ .Values.log.logger.zookeeper }} + # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following diff --git a/components/aai-schema-service/config/logback.xml b/components/aai-schema-service/config/logback.xml index 9cfffe9..320be85 100644 --- a/components/aai-schema-service/config/logback.xml +++ b/components/aai-schema-service/config/logback.xml @@ -58,11 +58,10 @@ + - - %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx} - + {{ .Values.log.consolePattern.schemaService }} @@ -224,45 +223,45 @@ - - - - - + + + + + - - + + - + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + - - + + - + @@ -282,13 +281,13 @@ - - - - - + + + + - + + diff --git a/components/aai-schema-service/values.yaml b/components/aai-schema-service/values.yaml index 84f36b2..fdb64bc 100644 --- a/components/aai-schema-service/values.yaml +++ b/components/aai-schema-service/values.yaml @@ -53,6 +53,44 @@ service: ingress: enabled: false +log: + logDir: {{ .Values.log.logDir }} + root: + level: {{ .Values.log.root.level.schemaService }} + consolePattern: {{ .Values.log.consolePattern.schemaService }} + logger: + apache: {{ .Values.log.logger.apache }} + apacheCamel: {{ .Values.log.logger.apacheCamel }} + apacheCamelComponentRestlet: {{ .Values.log.logger.apacheCamelComponentRestlet }} + apacheCamelProcessorInterceptor: {{ .Values.log.logger.apacheCamelProcessorInterceptor }} + apacheCommons: {{ .Values.log.logger.apacheCommons }} + apacheCommonsHttpclient: {{ .Values.log.logger.apacheCommonsHttpclient }} + apacheCoyote: {{ .Values.log.logger.apacheCoyote }} + apacheCxf: {{ .Values.log.logger.apacheCxf }} + apacheCxfJaxrsInterceptor: {{ .Values.log.logger.apacheCxfJaxrsInterceptor }} + apacheCxfService: {{ .Values.log.logger.apacheCxfService }} + apacheJasper: {{ .Values.log.logger.apacheJasper }} + apacheZookeeper: {{ .Values.log.logger.apacheZookeeper }} + attAftDme2: {{ .Values.log.logger.attAftDme2 }} + blogSpringJms: {{ .Values.log.logger.blogSpringJms }} + codehausGroovy: {{ .Values.log.logger.codehausGroovy }} + eclipseJetty: {{ .Values.log.logger.eclipseJetty }} + hibernate: {{ .Values.log.logger.hibernate }} + hibernateEjb: {{ .Values.log.logger.hibernateEjb }} + hibernateValidator: {{ .Values.log.logger.hibernateValidator }} + janusgraph: {{ .Values.log.logger.janusgraph }} + jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }} + netflixLoadbalancer: {{ .Values.log.logger.netflixLoadbalancer }} + qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} + qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} + restlet: {{ .Values.log.logger.restlet }} + sf: {{ .Values.log.logger.sf }} + springframework: {{ .Values.log.logger.springframework }} + springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} + springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} + zookeeper: {{ .Values.log.logger.zookeeper }} + + # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following diff --git a/components/aai-search-data/resources/config/log/logback.xml b/components/aai-search-data/resources/config/log/logback.xml index adfed4a..a325e88 100644 --- a/components/aai-search-data/resources/config/log/logback.xml +++ b/components/aai-search-data/resources/config/log/logback.xml @@ -39,7 +39,7 @@ - ${errorLogPattern} + {{ .Values.log.consolePattern }} @@ -156,37 +156,38 @@ - - - - + + + + - + - - - - - + + + + + - - - - - - - + + + + + + + - - + + - + + diff --git a/components/aai-search-data/resources/fproxy/config/logback-spring.xml b/components/aai-search-data/resources/fproxy/config/logback-spring.xml index edac199..48178ff 100644 --- a/components/aai-search-data/resources/fproxy/config/logback-spring.xml +++ b/components/aai-search-data/resources/fproxy/config/logback-spring.xml @@ -34,7 +34,7 @@ - + diff --git a/components/aai-search-data/resources/rproxy/config/logback-spring.xml b/components/aai-search-data/resources/rproxy/config/logback-spring.xml index 289fe75..19aa552 100644 --- a/components/aai-search-data/resources/rproxy/config/logback-spring.xml +++ b/components/aai-search-data/resources/rproxy/config/logback-spring.xml @@ -34,7 +34,7 @@ - + diff --git a/components/aai-search-data/values.yaml b/components/aai-search-data/values.yaml index 53a2064..6296d0c 100644 --- a/components/aai-search-data/values.yaml +++ b/components/aai-search-data/values.yaml @@ -59,6 +59,35 @@ service: ingress: enabled: false +log: + logDir: {{ .Values.log.logDir }} + root: + level: + config: {{ .Values.log.root.level.searchData.config }} + fproxy: {{ .Values.log.root.level.searchData.fproxy }} + rproxy: {{ .Values.log.root.level.searchData.rproxy }} + consolePattern: {{ .Values.log.consolePattern.searchData }} + logger: + apacheCamel: {{ .Values.log.logger.apacheCamel }} + apacheCamelComponentRestlet: {{ .Values.log.logger.apacheCamelComponentRestlet }} + apacheCamelProcessorInterceptor: {{ .Values.log.logger.apacheCamelProcessorInterceptor }} + apacheCommons: {{ .Values.log.logger.apacheCommons }} + apacheCommonsHttpclient: {{ .Values.log.logger.apacheCommonsHttpclient }} + apacheCoyote: {{ .Values.log.logger.apacheCoyote }} + apacheCxf: {{ .Values.log.logger.apacheCxf }} + apacheCxfJaxrsInterceptor: {{ .Values.log.logger.apacheCxfJaxrsInterceptor }} + apacheCxfService: {{ .Values.log.logger.apacheCxfService }} + apacheJasper: {{ .Values.log.logger.apacheJasper }} + blogSpringJms: {{ .Values.log.logger.blogSpringJms }} + openecompSa: {{ .Values.log.logger.openecompSa }} + qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} + qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} + restlet: {{ .Values.log.logger.restlet }} + sf: {{ .Values.log.logger.sf }} + springframework: {{ .Values.log.logger.springframework }} + springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} + springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} + resources: small: limits: diff --git a/components/aai-traversal/resources/config/logback.xml b/components/aai-traversal/resources/config/logback.xml index d466ccf..935dce9 100644 --- a/components/aai-traversal/resources/config/logback.xml +++ b/components/aai-traversal/resources/config/logback.xml @@ -33,13 +33,13 @@ + - - %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx} - + {{ .Values.log.consolePattern }} + ${logDirectory}/rest/sane.log @@ -213,6 +213,7 @@ ${eelfLogPattern} + @@ -222,15 +223,15 @@ - - - - - + + + + + - - - + + + @@ -247,19 +248,19 @@ - - - - + + + + - + - + {{if .Values.global.config.logback.console.enabled}} diff --git a/components/aai-traversal/values.yaml b/components/aai-traversal/values.yaml index 04185ee..df2796c 100644 --- a/components/aai-traversal/values.yaml +++ b/components/aai-traversal/values.yaml @@ -97,6 +97,26 @@ service: ingress: enabled: false +log: + logDir: {{ .Values.log.logDir }} + root: + level: {{ .Values.log.root.level.traversal }} + consolePattern: {{ .Values.log.consolePattern.traversal }} + logger: + apache: {{ .Values.log.logger.apache }} + attAftDme2: {{ .Values.log.logger.attAftDme2 }} + attEelf: {{ .Values.log.logger.attEelf }} + blogSpringJms: {{ .Values.log.logger.blogSpringJms }} + eclipseJetty: {{ .Values.log.logger.eclipseJetty }} + jaywayJsonpath: {{ .Values.log.logger.jaywayJsonpath }} + qosLogbackClassic: {{ .Values.log.logger.qosLogbackClassic }} + qosLogbackCore: {{ .Values.log.logger.qosLogbackCore }} + springframework: {{ .Values.log.logger.springframework }} + springframeworkBeans: {{ .Values.log.logger.springframeworkBeans }} + springframeworkWeb: {{ .Values.log.logger.springframeworkWeb }} + thinkaurelius: {{ .Values.log.logger.thinkaurelius }} + zookeeper: {{ .Values.log.logger.zookeeper }} + # Configure resource requests and limits # ref: http://kubernetes.io/docs/user-guide/compute-resources/ resources: diff --git a/values.yaml b/values.yaml index 36245f9..92e0c84 100644 --- a/values.yaml +++ b/values.yaml @@ -33,6 +33,89 @@ global: # global defaults installSidecarSecurity: false aafEnabled: true +log: + logDir: /var/log/onap + queueSize: 256 + root: + level: + babel: INFO + graphadmin: INFO + resources: + config: INFO + froxy: INFO + rproxy: INFO + schemaService: INFO + searchData: + config: INFO + fproxy: INFO + rproxy: INFO + traversal: INFO + consolePattern: + babel: + config: "%nopexception${p_log}\t${p_tim}\t${p_lvl}\t%message\t${p_mdc}\t%rootException\t${p_mak}\t${p_thr}%n" + froxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable" + rproxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable" + graphadmin: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}" + resources: + config: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}" + froxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable" + rproxy: "%d{ISO8601} %-5level [%t] %C{1.}: %msg%n%throwable" + schemaService: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}" + searchData: "%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%mdc{RequestId}|%thread|SearchDataService|%mdc{PartnerName}|%logger||%.-5level|%msg%n" + traversal: "%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}" + logger: + ajsc: WARN + ajscBeansInterceptors: WARN + ajscComputeService: WARN + ajscFilePersistenceService: WARN + ajscFilters: WARN + ajscLoggingConfigurationService: WARN + ajscRestlet: WARN + ajscRouteMgmtService: WARN + ajscServlet: WARN + ajscUserDefinedBeansDefService: WARN + ajscUserDefinedJarService: WARN + ajscUtils: WARN + ajscUtilsDME2Helper: WARN + ajscVandelayService: WARN + apache: WARN + apacheCamel: WARN + apacheCamelComponentRestlet: WARN + apacheCamelProcessorInterceptor: WARN + apacheCommons: WARN + apacheCommonsHttpclient: WARN + apacheCoyote: WARN + apacheCxf: WARN + apacheCxfJaxrsInterceptor: WARN + apacheCxfService: WARN + apacheJasper: WARN + apacheZookeeper: WARN + att: INFO + attAftDme2: WARN + attAjsc: WARN + attAjscCsiLogging: WARN + attAjscFilemonitor: WARN + attScamper: WARN + blogSpringJms: WARN + codehausGroovy: WARN + eclipseJetty: WARN + hibernate: WARN + hibernateEjb: OFF + hibernateValidator: WARN + janusgraph: WARN + jaywayJsonpath: WARN + netflix: WARN + netflixLoadbalancer: WARN + qosLogbackClassic: WARN + qosLogbackCore: WARN + restlet: WARN + sf: WARN + springframework: WARN + springframeworkBeans: WARN + springframeworkWeb: WARN + thinkaurelius: WARN + zookeeper: OFF + fproxy: name: forward-proxy activeSpringProfiles: noHostVerification,cadi