From 9379dc6c5bd516a7601a179603de1aeefc5140ec Mon Sep 17 00:00:00 2001 From: jbalasub Date: Mon, 29 Jan 2018 22:18:51 +0200 Subject: [PATCH] Removing the ONAP directory Issue-ID: LOG-143 Change-Id: I7b0231a39d003f651270df6d5badc5093fe32d82 Signed-off-by: jbalasub --- onap/aai/README.md | 97 -------- onap/aai/aai-resources/conf/logback.xml | 345 -------------------------- onap/aai/aai-search/conf/logback.xml | 188 -------------- onap/aai/aai-sparky/conf/logback.xml | 174 ------------- onap/aai/aai-traversal/conf/logback.xml | 345 -------------------------- onap/aai/ajsc-aai/conf/logback.xml | 296 ---------------------- onap/aai/model-loader/conf/logback.xml | 161 ------------ onap/appc/README.md | 23 -- onap/appc/conf/org.ops4j.pax.logging.cfg | 151 ----------- onap/dcae/README.md | 21 -- onap/dcae/conf/log4j.properties | 91 ------- onap/policy/README.md | 82 ------ onap/policy/conf/drools/logback.xml | 152 ------------ onap/policy/conf/ep_sdk_app/logback.xml | 190 -------------- onap/policy/conf/pypdpserver/logback.xml | 154 ------------ onap/policy/conf/xacml-pap-rest/logback.xml | 153 ------------ onap/policy/conf/xacml-pdp-rest/logback.xml | 153 ------------ onap/portal/README.md | 39 --- onap/portal/portal-be/conf/logback.xml | 244 ------------------ onap/portal/portal-db/conf/logback.xml | 306 ----------------------- onap/sdc/README.md | 39 --- onap/sdc/be/logback.xml | 187 -------------- onap/sdc/fe/logback.xml | 187 -------------- onap/sdnc/README.md | 23 -- onap/sdnc/conf/org.ops4j.pax.logging.cfg | 58 ----- onap/so/README.md | 52 ---- onap/so/conf/logback.apihandler-infra.xml | 110 -------- onap/so/conf/logback.appc.xml | 110 -------- onap/so/conf/logback.asdc.xml | 110 -------- onap/so/conf/logback.bpmn.xml | 110 -------- onap/so/conf/logback.msorequestsdbadapter.xml | 110 -------- onap/so/conf/logback.network.xml | 110 -------- onap/so/conf/logback.sdnc.xml | 110 -------- onap/so/conf/logback.tenant.xml | 110 -------- onap/so/conf/logback.vnf.xml | 110 -------- onap/vid/README.md | 20 -- onap/vid/conf/logback.xml | 299 ---------------------- 37 files changed, 5220 deletions(-) delete mode 100644 onap/aai/README.md delete mode 100644 onap/aai/aai-resources/conf/logback.xml delete mode 100644 onap/aai/aai-search/conf/logback.xml delete mode 100644 onap/aai/aai-sparky/conf/logback.xml delete mode 100644 onap/aai/aai-traversal/conf/logback.xml delete mode 100644 onap/aai/ajsc-aai/conf/logback.xml delete mode 100644 onap/aai/model-loader/conf/logback.xml delete mode 100644 onap/appc/README.md delete mode 100644 onap/appc/conf/org.ops4j.pax.logging.cfg delete mode 100644 onap/dcae/README.md delete mode 100644 onap/dcae/conf/log4j.properties delete mode 100644 onap/policy/README.md delete mode 100644 onap/policy/conf/drools/logback.xml delete mode 100644 onap/policy/conf/ep_sdk_app/logback.xml delete mode 100644 onap/policy/conf/pypdpserver/logback.xml delete mode 100644 onap/policy/conf/xacml-pap-rest/logback.xml delete mode 100644 onap/policy/conf/xacml-pdp-rest/logback.xml delete mode 100644 onap/portal/README.md delete mode 100644 onap/portal/portal-be/conf/logback.xml delete mode 100644 onap/portal/portal-db/conf/logback.xml delete mode 100644 onap/sdc/README.md delete mode 100644 onap/sdc/be/logback.xml delete mode 100644 onap/sdc/fe/logback.xml delete mode 100644 onap/sdnc/README.md delete mode 100644 onap/sdnc/conf/org.ops4j.pax.logging.cfg delete mode 100644 onap/so/README.md delete mode 100644 onap/so/conf/logback.apihandler-infra.xml delete mode 100644 onap/so/conf/logback.appc.xml delete mode 100644 onap/so/conf/logback.asdc.xml delete mode 100644 onap/so/conf/logback.bpmn.xml delete mode 100644 onap/so/conf/logback.msorequestsdbadapter.xml delete mode 100644 onap/so/conf/logback.network.xml delete mode 100644 onap/so/conf/logback.sdnc.xml delete mode 100644 onap/so/conf/logback.tenant.xml delete mode 100644 onap/so/conf/logback.vnf.xml delete mode 100644 onap/vid/README.md delete mode 100644 onap/vid/conf/logback.xml diff --git a/onap/aai/README.md b/onap/aai/README.md deleted file mode 100644 index 2721df2..0000000 --- a/onap/aai/README.md +++ /dev/null @@ -1,97 +0,0 @@ -#################################################################################################################################################################### -## AAI Logging Configuration -==================================================================================================================================================================== -AAI has two vm instances -vm1-aai-inst1 has docker containers- testconfig_aai.searchservice.simpledemo.openecomp.org_1,testconfig_datarouter_1, -testconfig_aai-traversal.api.simpledemo.openecomp.org_1,testconfig_aai-resources.api.simpledemo.openecomp.org_1,testconfig_sparky-be_1,testconfig_model-loader_1, -vm1-aai-inst2 has docker containers- elasticsearch,testconfig_aai.gremlinserver.simpledemo.openecomp.org_1,testconfig_aai.hbase.simpledemo.openecomp.org_1. -Each container has its own logback.xml -Canonical logs will be generated at /var/log/onap/aai/ -==================================================================================================================================================================== -## Instructions for deployment -==================================================================================================================================================================== -### AAI logging deployment for search_search.amdocs.lab_1 --------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the log provider file path, /etc/onap/aai/conf.d/aai-search, on the host VM. - 2. Copy the canonical ‘logback.xml’ from 'aai' directory (of gerrit) into the path created in step 1. - 3. Give the read access to 'others' for the file, /etc/onap/aai/conf.d/aai-search/logback.xml. - This will give access to the 'aaiadmin' user used by the AAI container to read this file. - 4. Create the canonical path for logs, /var/log/onap/aai/aai-search, on the host VM. - 5. Provide write permissions for "others" users for directory created in step 4. - 6. Volume-Mount: The aai container requires two host paths mapped as volume in the container - - 6.1. Log file path: - Host path - /var/log/onap/aai/aai-search mapped to - Container path - /var/log/onap/aai/aai-sdb - 6.2. Log provider file path: - Host Path : /etc/onap/aai/conf.d/aai-search/logback.xml mapped to - Container path : /opt/app/search-data-service/bundleconfig/etc/logback.xml -------------------------------------------------------------------------------------------------------------------------------------------------------------------- -### AAI logging deployment for sparky_sparky.amdocs.lab_1 --------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the log provider file path, /etc/onap/aai/conf.d/aai-sparky, on the host VM. - 2. Copy the canonical ‘logback.xml’ from 'aai' directory (of gerrit) into the path created in step 1. - 3. Give the read access to 'others' for the file, /etc/onap/aai/conf.d/aai-search/logback.xml. - This will give access to the 'aaiadmin' user used by the AAI container to read this file. - 4. Create the canonical path for logs, /var/log/onap/aai/aai-sparky, on the host VM. - 5. Provide write permissions for "others" users for directory created in step 4. - 6. Volume-Mount: The aai container requires two host paths mapped as volume in the container - - 6.1. Log file path: - Host path - /var/log/onap/aai/aai-sparky mapped to - Container path - /var/log/onap/aai/aai-ui - 6.2. Log provider file path: - Host Path : /etc/onap/aai/conf.d/aai-sparky/logback.xml mapped to - Container path : /opt/app/sparky/bundleconfig/etc/logback.xml -------------------------------------------------------------------------------------------------------------------------------------------------------------------- -### AAI logging deployment for modelloader_model-loader.amdocs.lab_1 --------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the log provider file path, /etc/onap/aai/conf.d/aai-model-loader, on the host VM. - 2. Copy the canonical ‘logback.xml’ from 'aai' directory (of gerrit) into the path created in step 1. - 3. Give the read access to 'others' for the file, /etc/onap/aai/conf.d/aai-model-loader/logback.xml. - This will give access to the 'aaiadmin' user used by the AAI container to read this file. - 4. Create the canonical path for logs, /var/log/onap/aai/aai-model-loader, on the host VM. - 5. Provide write permissions for "others" users for directory created in step 4. - 6. Volume-Mount: The aai container requires two host paths mapped as volume in the container - - 6.1. Log file path: - Host path - /var/log/onap/aai/aai-model-loader mapped to - Container path - /var/log/onap/aai/aai-ml - 6.2. Log provider file path: - Host Path : /etc/onap/aai/conf.d/aai-model-loader/logback.xml mapped to - Container path : /opt/app/model-loader/bundleconfig/etc/logback.xml -------------------------------------------------------------------------------------------------------------------------------------------------------------------- -### AAI logging deployment for testconfig_aai-traversal.api.simpledemo.openecomp.org_1 --------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the log provider file path, /etc/onap/aai/conf.d/aai-traversal, on the host VM. - 2. Copy the canonical ‘logback.xml’ from 'aai' directory (of gerrit) into the path created in step 1. - 3. Give the read access to 'others' for the file, /etc/onap/aai/conf.d/aai-traversal/logback.xml. - This will give access to the 'aaiadmin' user used by the AAI container to read this file. - 4. Create the canonical path for logs, /var/log/onap/aai/aai-traversal, on the host VM. - 5. Provide write permissions for "others" users for directory created in step 4. - 6. Volume-Mount: The aai container requires two host paths mapped as volume in the container - - 6.1. Log file path: - Host path - /var/log/onap/aai/aai-traversal mapped to - Container path - /var/log/onap/aai/ - 6.2. Log provider file path: - Host Path : /etc/onap/aai/conf.d/aai-traversal/logback.xml mapped to - Container path : /opt/app/aai-traversal/bundleconfig/etc/logback.xml -------------------------------------------------------------------------------------------------------------------------------------------------------------------- -### AAI logging deployment for testconfig_aai-resources.api.simpledemo.openecomp.org_1 --------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the log provider file path, /etc/onap/aai/conf.d/aai-resources, on the host VM. - 2. Copy the canonical ‘logback.xml’ from 'aai' directory (of gerrit) into the path created in step 1. - 3. Give the read access to 'others' for the file, /etc/onap/aai/conf.d/aai-resources/logback.xml. - This will give access to the 'aaiadmin' user used by the AAI container to read this file. - 4. Create the canonical path for logs, /var/log/onap/aai/aai-resources, on the host VM. - 5. Provide write permissions for "others" users for directory created in step 4. - 6. Volume-Mount: The aai container requires two host paths mapped as volume in the container - - 6.1. Log file path: - Host path - /var/log/onap/aai/aai-resources mapped to - Container path - /var/log/onap/aai/aai-resources - 6.2. Log provider file path: - Host Path : /etc/onap/aai/conf.d/aai-resources/logback.xml mapped to - Container path : /opt/app/aai-resources/bundleconfig/etc/logback.xml -#################################################################################################################################################################### diff --git a/onap/aai/aai-resources/conf/logback.xml b/onap/aai/aai-resources/conf/logback.xml deleted file mode 100644 index bf334df..0000000 --- a/onap/aai/aai-resources/conf/logback.xml +++ /dev/null @@ -1,345 +0,0 @@ - - ${module.ajsc.namespace.name} - - - - - - - - - - - - - - - - - - - - ERROR - ACCEPT - DENY - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n - - - - ${restLogDirectory}/sane.log - - ${restLogDirectory}/sane.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - INFO - ACCEPT - DENY - - ${restLogDirectory}/${metricsLogName}.log - - ${restLogDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - DEBUG - ACCEPT - DENY - - ${restLogDirectory}/${debugLogName}.log - - ${restLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - WARN - - ${restLogDirectory}/${errorLogName}.log - - ${restLogDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - ${restLogDirectory}/${auditLogName}.log - - ${restLogDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - DEBUG - ACCEPT - DENY - - ${restLogDirectory}/translog.log - - ${restLogDirectory}/translog.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - WARN - - ${dmaapLogDirectory}/${errorLogName}.log - - ${dmaapLogDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - DEBUG - ACCEPT - DENY - - ${dmaapLogDirectory}/${debugLogName}.log - - ${dmaapLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - INFO - ACCEPT - DENY - - ${dmaapLogDirectory}/${metricsLogName}.log - - ${dmaapLogDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${perfLogsDirectory}/Audit.log - - ${perfLogsDirectory}/Audit.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${perfLogsDirectory}/Perform.log - - ${perfLogsDirectory}/Perform.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - 0 - - - - ${queueSize} - true - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/aai/aai-search/conf/logback.xml b/onap/aai/aai-search/conf/logback.xml deleted file mode 100644 index 14ed414..0000000 --- a/onap/aai/aai-search/conf/logback.xml +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - INFO - - ${queueSize} - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/aai/aai-sparky/conf/logback.xml b/onap/aai/aai-sparky/conf/logback.xml deleted file mode 100644 index ca6d1a9..0000000 --- a/onap/aai/aai-sparky/conf/logback.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - INFO - - ${queueSize} - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/aai/aai-traversal/conf/logback.xml b/onap/aai/aai-traversal/conf/logback.xml deleted file mode 100644 index 825fac9..0000000 --- a/onap/aai/aai-traversal/conf/logback.xml +++ /dev/null @@ -1,345 +0,0 @@ - - ${module.ajsc.namespace.name} - - - - - - - - - - - - - - - - - - - ERROR - ACCEPT - DENY - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n - - - - ${restLogDirectory}/sane.log - - ${restLogDirectory}/sane.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - INFO - ACCEPT - DENY - - ${restLogDirectory}/${metricsLogName}.log - - ${restLogDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - DEBUG - ACCEPT - DENY - - ${restLogDirectory}/${debugLogName}.log - - ${restLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - WARN - - ${restLogDirectory}/${errorLogName}.log - - ${restLogDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - ${restLogDirectory}/${auditLogName}.log - - ${restLogDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - DEBUG - ACCEPT - DENY - - ${restLogDirectory}/translog.log - - ${restLogDirectory}/translog.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - - - - - WARN - - ${dmaapLogDirectory}/${errorLogName}.log - - ${dmaapLogDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - DEBUG - ACCEPT - DENY - - ${dmaapLogDirectory}/${debugLogName}.log - - ${dmaapLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - INFO - ACCEPT - DENY - - ${dmaapLogDirectory}/${metricsLogName}.log - - ${dmaapLogDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${perfLogsDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.log - - ${perfLogsDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${perfLogsDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.log - - ${perfLogsDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - true - 0 - - - - ${queueSize} - true - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/aai/ajsc-aai/conf/logback.xml b/onap/aai/ajsc-aai/conf/logback.xml deleted file mode 100644 index f034917..0000000 --- a/onap/aai/ajsc-aai/conf/logback.xml +++ /dev/null @@ -1,296 +0,0 @@ - - ${module.ajsc.namespace.name} - - - - - - - - - - - - - - - - - - - ERROR - ACCEPT - DENY - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{1024} - %msg%n - - - - - INFO - ACCEPT - DENY - - ${restLogDirectory}/${metricsLogName}.log - - ${restLogDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - - DEBUG - ACCEPT - DENY - - ${restLogDirectory}/${debugLogName}.log - - ${restLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - - WARN - - ${restLogDirectory}/${errorLogName}.log - - ${restLogDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${restLogDirectory}/${auditLogName}.log - - ${restLogDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - - WARN - - ${dmaapLogDirectory}/${errorLogName}.log - - ${dmaapLogDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - DEBUG - ACCEPT - DENY - - ${dmaapLogDirectory}/${debugLogName}.log - - ${dmaapLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - INFO - ACCEPT - DENY - - ${dmaapLogDirectory}/${metricsLogName}.log - - ${dmaapLogDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${perfLogsDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.log - - ${perfLogsDirectory}/Audit-${lrmRVer}-${lrmRO}-${Pid}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${perfLogsDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.log - - ${perfLogsDirectory}/Perform-${lrmRVer}-${lrmRO}-${Pid}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - 1000 - 0 - - - - - - - - - - - - 1000 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/aai/model-loader/conf/logback.xml b/onap/aai/model-loader/conf/logback.xml deleted file mode 100644 index d512d3b..0000000 --- a/onap/aai/model-loader/conf/logback.xml +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${generalLogName}.log - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - INFO - - ${queueSize} - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/appc/README.md b/onap/appc/README.md deleted file mode 100644 index 46a1bfb..0000000 --- a/onap/appc/README.md +++ /dev/null @@ -1,23 +0,0 @@ -#################################################################################################################################################################### -## APPC Logging Configuration -==================================================================================================================================================================== -APPC has three docker containers -appc_controller_container,sdnc_dgbuilder_container and sdnc_db_container. -The canonical logging implementation is only done for the container, appc_controller_container. -Canonical logs will be generated at /var/log/onap/appc/ -==================================================================================================================================================================== -## Instructions for deployment -==================================================================================================================================================================== - 1. Log provider file is available at the path, /etc/onap/appc/conf.d/, on the host VM. - 2. Copy the canonical 'org.ops4j.pax.logging.cfg' from 'appc' directory (of gerrit) into the path created in step 1. - 3. Create the canonical path for logs, /var/log/onap/appc, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The appc container requires two host paths mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/appc/ mapped to - Container path - /var/log/onap/appc/ - 5.2. Log provider file path: - Host Path : /etc/onap/appc/conf.d/org.ops4j.pax.logging.cfg mapped to - Container path : ${karaf_data}/etc/org.ops4j.pax.logging.cfg - Note: The current value of ${karaf_data} is /opt/opendaylight/distribution-karaf-0.4.2-Beryllium-SR2/data, which may change depending upon the karaf version. -#################################################################################################################################################################### diff --git a/onap/appc/conf/org.ops4j.pax.logging.cfg b/onap/appc/conf/org.ops4j.pax.logging.cfg deleted file mode 100644 index 3f52797..0000000 --- a/onap/appc/conf/org.ops4j.pax.logging.cfg +++ /dev/null @@ -1,151 +0,0 @@ -################################################################################ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. -# -################################################################################ - -# Root logger -log4j.rootLogger=INFO, async, osgi:* -log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer - -maxFileSize=100MB -maxBackupIndex=20 -logDir=/var/log/onap -componentName=appc -logDirectory=${logDir}/${componentName} -karafLogName=karaf -errorLogName=error -metricsLogName=metrics -auditLogName=audit -debugLogName=debug - - -# CONSOLE appender not used by default -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss.SSS}\t%-16.16t\t%-5.5p\t%c{36}\t%X{bundle.id} - %X{bundle.name} - %X{bundle.version}\t%m%n - -# Async appender forwarding to file appender -log4j.appender.async=org.apache.log4j.AsyncAppender -log4j.appender.async.appenders=out - -# File appender -log4j.appender.out=org.apache.log4j.RollingFileAppender -log4j.appender.out.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.out.layout.Properties=true -log4j.appender.out.file=${logDirectory}/${karafLogName}.log -log4j.appender.out.append=true -log4j.appender.out.maxFileSize=${maxFileSize} -log4j.appender.out.maxBackupIndex=${maxBackupIndex} - -# Sift appender -log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender -log4j.appender.sift.key=bundle.name -log4j.appender.sift.default=karaf -log4j.appender.sift.appender=org.apache.log4j.RollingFileAppender -log4j.appender.sift.appender.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.sift.appender.layout.Properties=true -log4j.appender.sift.appender.file=${logDirectory}/$\\{bundle.name\\}.log -log4j.appender.sift.appender.append=true - - - -log4j.category.org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPusherImpl=DEBUG -log4j.category.org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator=DEBUG - - -#ECOMP Debug appender -log4j.appender.debug=org.apache.log4j.RollingFileAppender -log4j.appender.debug.key=bundle.name -log4j.appender.debug.default=karaf -log4j.appender.debug.appName=EELFDebug -log4j.appender.debug.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.debug.layout.Properties=true -log4j.appender.debug.file=${logDirectory}/${debugLogName}.log -log4j.appender.debug.append=true -log4j.appender.debug.maxFileSize=${maxFileSize} -log4j.appender.debug.maxBackupIndex=${maxBackupIndex} -#log4j.appender.debug.filter.f1=org.apache.log4j.varia.LevelRangeFilter -#log4j.appender.debug.filter.f1.LevelMax=WARN -#log4j.appender.debug.filter.f1.LevelMin=TRACE - - -#Error appender -log4j.appender.error=org.apache.log4j.RollingFileAppender -log4j.appender.error.appName=EELFError -log4j.appender.error.File=${logDirectory}/${errorLogName}.log -log4j.appender.error.Threshold=ERROR -log4j.appender.error.maxFileSize=${maxFileSize} -log4j.appender.error.maxBackupIndex=${maxBackupIndex} -log4j.appender.error.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.error.layout.Properties=true - -#Metrics appender -log4j.appender.metric=org.apache.log4j.RollingFileAppender -log4j.appender.metric.appName=EELFMetrics -log4j.appender.metric.File=${logDirectory}/${metricsLogName}.log -log4j.appender.metric.maxFileSize=${maxFileSize} -log4j.appender.metric.maxBackupIndex=${maxBackupIndex} -log4j.appender.metric.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.metric.layout.Properties=true - -#Audit appender -log4j.appender.audit=org.apache.log4j.RollingFileAppender -log4j.appender.audit.appName=EELFAudit -log4j.appender.audit.File=${logDirectory}/${auditLogName}.log -log4j.appender.audit.maxFileSize=${maxFileSize} -log4j.appender.audit.maxBackupIndex=${maxBackupIndex} -log4j.appender.audit.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.audit.layout.Properties=true - -#Loggers -#Routing of all messages from root logger -log4j.logger.com.att=TRACE, debug, error -#Store to the same log file messages from upper level appender or not -log4j.additivity.com.att=false - -#EELFManager loggers -#EELF parent logger -log4j.logger.com.att.eelf=TRACE, debug -log4j.additivity.com.att.eelf=false - -#Audit logger routing -log4j.logger.com.att.eelf.audit=DEBUG, audit -log4j.additivity.com.att.eelf.audit=false - -#Metric logger routing -log4j.logger.com.att.eelf.metrics=DEBUG, metric -log4j.additivity.com.att.eelf.metrics=false - -#Performance logger routing -log4j.logger.com.att.eelf.perf=DEBUG, metric -log4j.additivity.com.att.eelf.perf=false - -#Server logger routing -log4j.logger.com.att.eelf.server=DEBUG, debug -log4j.additivity.com.att.eelf.server=false - -#Policy logger routing -log4j.logger.com.att.eelf.policy=DEBUG, debug -log4j.additivity.com.att.eelf.policy=false - -#Error logger routing -log4j.logger.com.att.eelf.error=DEBUG, error -log4j.additivity.com.att.eelf.error=false - -#Debug logger routing -log4j.logger.com.att.eelf.debug=DEBUG, debug -log4j.additivity.com.att.eelf.debug=false \ No newline at end of file diff --git a/onap/dcae/README.md b/onap/dcae/README.md deleted file mode 100644 index a403e90..0000000 --- a/onap/dcae/README.md +++ /dev/null @@ -1,21 +0,0 @@ -#################################################################################################################################################################### -## DCAE Logging Configuration -==================================================================================================================================================================== -DCAE has one docker container - dcaestartupvmcontroller_dcae-controller_1. -Canonical logs will be generated at /var/log/onap/dcae/ -==================================================================================================================================================================== -## Instructions for deployment -==================================================================================================================================================================== - 1. Log provider file is available at the path, /etc/onap/dcae/conf.d/, on the host VM. - 2. Copy the canonical 'log4j.properties' from 'dcae' directory (of gerrit) into the path created in step 1. - 3. Create the canonical path for logs, /var/log/onap/dcae, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The dcae container requires two host paths mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/dcae/ mapped to - Container path - /var/log/onap/dcae/ - 5.2. Log provider file path: - Host Path : /etc/onap/dcae/conf.d/log4j.properties mapped to - Container path : /opt/app/dcae-controller-platform-server/config/log4j.properties -#################################################################################################################################################################### diff --git a/onap/dcae/conf/log4j.properties b/onap/dcae/conf/log4j.properties deleted file mode 100644 index f188a7e..0000000 --- a/onap/dcae/conf/log4j.properties +++ /dev/null @@ -1,91 +0,0 @@ -#log4j.debug=0 -log4j.rootLogger=INFO, file -log4j.logger.org.openecomp.ncomp=info, file -log4j.additivity.org.openecomp.ncomp=false -#log4j.logger.org.apache.http.headers=debug, file -#log4j.logger.org.apache.http.wire=debug, file - -# Log Directory -logDir=/var/log/onap -componentName=dcae -logDirectory=${logDir}/${componentName} -maxFileSize=100MB -maxBackupIndex=20 - -## uploaded logger -log4j.logger.org.openecomp.ncomp.sirius.manager.uploaded=info, uploaded -log4j.additivity.org.openecomp.ncomp.sirius.manager.uploaded=false -## request logging -log4j.logger.org.openecomp.ncomp.sirius.manager.ManagementServer.requests=info, requests -log4j.additivity.org.openecomp.ncomp.sirius.manager.ManagementServer.requests=false -## openstack polling -log4j.logger.org.openecomp.ncomp.openstack.OpenStackUtil.polling=info, polling -log4j.additivity.org.openecomp.ncomp.openstack.OpenStackUtil.polling=false - -log4j.appender.file=org.apache.log4j.RollingFileAppender -log4j.appender.file.File=${logDirectory}/dcae-controller.log -log4j.appender.file.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.file.layout.Properties=true -log4j.appender.file.MaxFileSize=${maxFileSize} -log4j.appender.file.MaxBackupIndex=${maxBackupIndex} - -log4j.appender.uploaded=org.apache.log4j.RollingFileAppender -log4j.appender.uploaded.File=${logDirectory}/dcae-controller-uploaded.log -log4j.appender.uploaded.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.uploaded.layout.Properties=true -log4j.appender.uploaded.MaxFileSize=${maxFileSize} -log4j.appender.uploaded.MaxBackupIndex=${maxBackupIndex} - -log4j.appender.requests=org.apache.log4j.RollingFileAppender -log4j.appender.requests.File=${logDirectory}/dcae-controller-requests.log -log4j.appender.requests.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.requests.layout.Properties=true -log4j.appender.requests.MaxFileSize=${maxFileSize} -log4j.appender.requests.MaxBackupIndex=${maxBackupIndex} - -log4j.appender.polling=org.apache.log4j.RollingFileAppender -log4j.appender.polling.File=${logDirectory}/dcae-controller-polling.log -log4j.appender.polling.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.polling.layout.Properties=true -log4j.appender.polling.MaxFileSize=${maxFileSize} -log4j.appender.polling.MaxBackupIndex=${maxBackupIndex} - - -### ECOMP Logging - -log4j.logger.org.openecomp.audit=info, audit -log4j.additivity.org.openecomp.audit=false -log4j.logger.org.openecomp.metrics=info, metrics -log4j.additivity.org.openecomp.metrics=false -log4j.logger.org.openecomp.error=info, error -log4j.additivity.org.openecomp.error=false -log4j.logger.com.att.eelf.debug=info, debug -log4j.additivity.org.openecomp.debug=false - -log4j.appender.audit=org.apache.log4j.RollingFileAppender -log4j.appender.audit.File=${logDirectory}/audit.log -log4j.appender.audit.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.audit.layout.Properties=true -log4j.appender.audit.MaxFileSize=${maxFileSize} -log4j.appender.audit.MaxBackupIndex=${maxBackupIndex} - -log4j.appender.metrics=org.apache.log4j.RollingFileAppender -log4j.appender.metrics.File=${logDirectory}/metrics.log -log4j.appender.metrics.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.metrics.layout.Properties=true -log4j.appender.metrics.MaxFileSize=${maxFileSize} -log4j.appender.metrics.MaxBackupIndex=${maxBackupIndex} - -log4j.appender.error=org.apache.log4j.RollingFileAppender -log4j.appender.error.File=${logDirectory}/error.log -log4j.appender.error.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.error.layout.Properties=true -log4j.appender.error.MaxFileSize=${maxFileSize} -log4j.appender.error.MaxBackupIndex=${maxBackupIndex} - -log4j.appender.debug=org.apache.log4j.RollingFileAppender -log4j.appender.debug.File=${logDirectory}/debug.log -log4j.appender.debug.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.debug.layout.Properties=true -log4j.appender.debug.MaxFileSize=${maxFileSize} -log4j.appender.debug.MaxBackupIndex=${maxBackupIndex} diff --git a/onap/policy/README.md b/onap/policy/README.md deleted file mode 100644 index e3c1d8a..0000000 --- a/onap/policy/README.md +++ /dev/null @@ -1,82 +0,0 @@ -############################################################################################################################################## -## Policy Logging Configuration -================================================================================================= -Policy has 7 docker containers - pap,pdp,pypdp,drools,mariadb,nexus,brmsGateway. -Each one has its own separate logback.xml file. -The canonical logging implementation is done for the containers- pap,pdp,pypdp,drools. -Canonical logs will be generated at /var/log/onap/policy/ -================================================================================================= -## Instructions for deployment -================================================================================================= -### Policy logging deployment for PDP -------------------------------------------------------------------------------------------------- - 1. Log provider file is available at the path, /opt/app/policy/servers/pdp/webapps/pdp/WEB-INF/classes, in the container PDP. - 2. Copy the canonical logback.xml from 'xacml-pdp-rest' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path for logs, /var/log/onap/policy/xacml-pdp-rest, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount:The pdp container requires one host path mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/policy/xacml-pdp-rest/ mapped to - Container path - /var/log/onap/policy/xacml-pdp-rest/ - 5.2. Log provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. ------------------------------------------------------------------------------------------------------------------------------------------- -### Policy logging deployment for PAP sub-module ep_sdk_app ------------------------------------------------------------------------------------------------------------------------------------------- - 1. Log provider file is available at the path, /opt/app/policy/servers/console/webapps/ecomp/WEB-INF/classes/, is in the container PAP. - 2. Copy the canonical logback.xml from 'ep_sdk_app' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path for logs, /var/log/onap/policy/ep_sdk_app, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The pap container requires one host path mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/policy/ep_sdk_app/ mapped to - Container path - /var/log/onap/policy/ep_sdk_app/ - 5.2. Log provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. ------------------------------------------------------------------------------------------------------------------------------------------- -### Policy logging deployment for PAP sub-module xacml-pap-rest ------------------------------------------------------------------------------------------------------------------------------------------- - 1. Log provider file is available at the path, /opt/app/policy/servers/pap/webapps/pap/WEB-INF/classes/, is in the container PAP. - 2. Copy the canonical logback.xml from 'xacml-pap-rest' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path for logs, /var/log/onap/policy/xacml-pap-rest, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The pap container requires one host path mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/policy/xacml-pap-rest/ mapped to - Container path - /var/log/onap/policy/xacml-pap-rest/ - 5.2. Log provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. ------------------------------------------------------------------------------------------------------------------------------------------- -### Policy logging deployment for drools ------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the canonical path for log provider, /etc/onap/policy/conf.d/drools/, on the host VM. - 2. Copy the canonical logback.xml from 'drools' directory (of gerrit) into the path created in step 1. - 3. Give the read access to 'others' for the file, /etc/onap/policy/conf.d/drools/logback.xml. This will give access to the 'policy' user used by the policy container to read this file. - 4. Create the canonical path for logs, /var/log/onap/policy/drools, on the host VM. - 5. Provide write permissions for "others" users for directory created in step 4. - 6. Volume-Mount:The drools container requires two host paths mapped as volume in the container - - 6.1. Log file path: - Host path - /var/log/onap/policy/drools/ mapped to - Container path - /var/log/onap/policy/drools/ - 6.2. Log provider file path: - Host path - /etc/onap/policy/conf.d/drools/logback.xml mapped to - Container path - /opt/app/policy/config/logback.xml ------------------------------------------------------------------------------------------------------------------------------------------- -### Policy logging deployment for pypdpserver ------------------------------------------------------------------------------------------------------------------------------------------- - 1. Log provider file is available at the path, /opt/app/policy/servers/pypdp/webapps/PyPDPServer/WEB-INF/classes/, is in the container pypdpserver on the host VM. - 2. Copy the canonical logback.xml from 'pypdpserver' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path for logs, /var/log/onap/policy/pypdpserver, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount:The pypdpserver container requires one host path mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/policy/pypdpserver/ mapped to - Container path - /var/log/onap/policy/pypdpserver/ - 5.2. Log provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. -############################################################################################################################################## diff --git a/onap/policy/conf/drools/logback.xml b/onap/policy/conf/drools/logback.xml deleted file mode 100644 index 39cea82..0000000 --- a/onap/policy/conf/drools/logback.xml +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%i.log.zip - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/policy/conf/ep_sdk_app/logback.xml b/onap/policy/conf/ep_sdk_app/logback.xml deleted file mode 100644 index 5b38caf..0000000 --- a/onap/policy/conf/ep_sdk_app/logback.xml +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${generalLogName}.log - - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${queueSize} - - true - - - - - ${logDirectory}/${auditLogName}.log - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/policy/conf/pypdpserver/logback.xml b/onap/policy/conf/pypdpserver/logback.xml deleted file mode 100644 index 47f87e6..0000000 --- a/onap/policy/conf/pypdpserver/logback.xml +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/policy/conf/xacml-pap-rest/logback.xml b/onap/policy/conf/xacml-pap-rest/logback.xml deleted file mode 100644 index 4b1deec..0000000 --- a/onap/policy/conf/xacml-pap-rest/logback.xml +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/policy/conf/xacml-pdp-rest/logback.xml b/onap/policy/conf/xacml-pdp-rest/logback.xml deleted file mode 100644 index f84d9b6..0000000 --- a/onap/policy/conf/xacml-pdp-rest/logback.xml +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/portal/README.md b/onap/portal/README.md deleted file mode 100644 index 7d473d2..0000000 --- a/onap/portal/README.md +++ /dev/null @@ -1,39 +0,0 @@ -############################################################################################################################################## -## Portal Logging Configuration -================================================================================================= -Portal has two docker containers- portal and mariadb. -The canonical logging implementation is only done for the container, portal. -Portal has two sub-modules portal-be and portal-db each one has its own separate logback.xml file. -Canonical logs will be generated at /var/log/onap/portal/ -================================================================================================= -## Instructions for deployment -================================================================================================= -### Portal logging deployment for sub-module portal-be -------------------------------------------------------------------------------------------------- - 1. Log provider file is available at the path, /opt/apache-tomcat-8.0.37/webapps/ECOMPPORTAL/WEB-INF/classes, in the container. - 2. Copy the canonical logback.xml from 'portal-be' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path for logs, /var/log/onap/portal/portal-be on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The portal container requires one host path mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/portal/portal-be/ mapped to - Container path - /var/log/onap/portal/portal-be/ - 5.2. Log provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. ---------------------------------------------------------------------------------------------------------------------------------------------- -### Portal logging deployment for sub-module portal-db -------------------------------------------------------------------------------------------------- - 1. Log provider file is available at the path, /opt/apache-tomcat-8.0.37/webapps/ECOMPDBCAPP/WEB-INF/classes, in the container. - 2. Copy the canonical logback.xml from 'portal-db' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path for logs, /var/log/onap/portal/portal-db on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The portal container requires one host path mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/portal/portal-db/ mapped to - Container path - /var/log/onap/portal/portal-db/ - This is done so that the log files are also visible in the VM and then to the filebeat. - 5.2. Log provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. -############################################################################################################################################## diff --git a/onap/portal/portal-be/conf/logback.xml b/onap/portal/portal-be/conf/logback.xml deleted file mode 100644 index b73e72e..0000000 --- a/onap/portal/portal-be/conf/logback.xml +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${generalLogName}.log - - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${queueSize} - - true - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${debugLogDirectory}/${debugLogName}.log - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/portal/portal-db/conf/logback.xml b/onap/portal/portal-db/conf/logback.xml deleted file mode 100644 index 2fad268..0000000 --- a/onap/portal/portal-db/conf/logback.xml +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${generalLogName}.log - - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log - - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${queueSize} - - true - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${debugLogDirectory}/${debugLogName}.log - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/onap/sdc/README.md b/onap/sdc/README.md deleted file mode 100644 index e42f397..0000000 --- a/onap/sdc/README.md +++ /dev/null @@ -1,39 +0,0 @@ -############################################################################################################################################## -## SDC logging configuration -================================================================================================= -SDC has two docker containers - sdc-BE and sdc-FE. -Each one has its own separate logback.xml file. -Canonical logs will be generated at /var/log/onap/sdc/ -================================================================================================= -## Instructions for deployment -================================================================================================= -### SDC logging deployment for sdc-FE -------------------------------------------------------------------------------------------------- - 1. Create the canonical path for log provider, /etc/onap/sdc/conf.d/fe, on the host VM. - 2. Copy the logback.xml from 'fe' directory (of gerrit) into the path created in step 1. - 3. Create the canonical path for logs, /var/log/onap/sdc/sdc-fe, on the host VM. - 4. Provide write permissions for "others" user for directory created in step 3. - 5. Volume-Mount: The sdc-FE container requires two host paths mapped as volume in the container - 5.1. Log Provider file path: - Host path - /etc/onap/sdc/conf.d/fe/logback.xml mapped to - Container path - ${JETTY_BASE}/config/catalog-fe/logback.xml - 5.2. Log file path: - Host path - /var/log/onap/sdc/sdc-fe/ mapped to - Container path - /var/log/onap/sdc/sdc-fe/ -------------------------------------------------------------------------------------------------- -### SDC logging deployment for sdc-BE -------------------------------------------------------------------------------------------------- - 1. Create the canonical path for log provider, /etc/onap/sdc/conf.d/be, on the host VM. - 2. Copy the logback.xml from 'be' directory (of gerrit) into the canonical path created in step 1. - 3. Create the canonical path for logs, /var/log/onap/sdc/sdc-be, on the host VM. - 4. Provide write permissions for "others" user for directory created in step 3. - 5. Volume-Mount: The sdc-BE container requires two host paths mapped as volume in the container - 5.1. Log Provider file path: - Host path - /etc/onap/sdc/conf.d/be/logback.xml mapped to - Container path - ${JETTY_BASE}/config/catalog-be/logback.xml - 5.2. Log file path: - Host path - /var/log/onap/sdc/sdc-be/ mapped to - Container path - /var/log/onap/sdc/sdc-be/ -------------------------------------------------------------------------------------------------- -Note - ${JETTY_BASE} in the test environment was set to /var/lib/jetty/ -############################################################################################################################################## diff --git a/onap/sdc/be/logback.xml b/onap/sdc/be/logback.xml deleted file mode 100644 index caa6d44..0000000 --- a/onap/sdc/be/logback.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - ${logDirectory}/${allLogName}.log - - ${logDirectory}/${allLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - - - - - ${logDirectory}/${errorLogName}.log - - - - AUDIT_MARKER - - NEUTRAL - DENY - - - - - TRANSACTION_MARKER - - NEUTRAL - DENY - - - - INFO - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${logDirectory}/${debugLogName}.log - - - - - TRANSACTION_MARKER - - NEUTRAL - DENY - - - - - e.level.toInt() <= DEBUG.toInt() - - DENY - NEUTRAL - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${logDirectory}/${auditLogName}.log - - - - AUDIT_MARKER - - DENY - ACCEPT - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${logDirectory}/${transactionLogName}.log - - - - TRANSACTION_MARKER - - DENY - ACCEPT - - - ${logDirectory}/${transactionLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${queueSize} - - - - ${queueSize} - - - - ${queueSize} - - - - ${queueSize} - - - - - - - - - - - - - - - diff --git a/onap/sdc/fe/logback.xml b/onap/sdc/fe/logback.xml deleted file mode 100644 index f2978f7..0000000 --- a/onap/sdc/fe/logback.xml +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - ${logDirectory}/${allLogName}.log - - ${logDirectory}/${allLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - - - - - - ${logDirectory}/${errorLogName}.log - - - - AUDIT_MARKER - - NEUTRAL - DENY - - - - - TRANSACTION_MARKER - - NEUTRAL - DENY - - - - INFO - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${logDirectory}/${debugLogName}.log - - - - - TRANSACTION_MARKER - - NEUTRAL - DENY - - - - - e.level.toInt() <= DEBUG.toInt() - - DENY - NEUTRAL - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${logDirectory}/${auditLogName}.log - - - - AUDIT_MARKER - - DENY - ACCEPT - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${logDirectory}/${transactionLogName}.log - - - - TRANSACTION_MARKER - - DENY - ACCEPT - - - ${logDirectory}/${transactionLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${queueSize} - - - - ${queueSize} - - - - ${queueSize} - - - - ${queueSize} - - - - - - - - - - - - - - - diff --git a/onap/sdnc/README.md b/onap/sdnc/README.md deleted file mode 100644 index a8d00a9..0000000 --- a/onap/sdnc/README.md +++ /dev/null @@ -1,23 +0,0 @@ -#################################################################################################################################################################### -## SDNC Logging Configuration -==================================================================================================================================================================== -SDNC has four docker containers -sdnc_dgbuilder_container, sdnc_portal_container, sdnc_controller_container,sdnc_db_container. -The canonical logging implementation is only done for the container, sdnc_controller_container. -Canonical logs will be generated at /var/log/onap/sdnc/ -==================================================================================================================================================================== -## Instructions for deployment -==================================================================================================================================================================== - 1. Create the canonical path for log provider, /etc/onap/sdnc/conf.d/,on the host VM. - 2. Copy the canonical ‘org.ops4j.pax.logging.cfg’ from 'sdnc' directory (of gerrit) into the path created in step 1. - 3. Create the canonical path for logs, /var/log/onap/sdnc, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The sdnc container requires two host paths mapped as volume in the container - - 5.1. Log file path: - Host path - /var/log/onap/sdnc/ mapped to - Container path - /var/log/onap/sdnc/ - 5.2. Log provider file path: - Host Path : /etc/onap/sdnc/conf.d/org.ops4j.pax.logging.cfg mapped to - Container path : ${karaf_data}/etc/org.ops4j.pax.logging.cfg - Note: The current value of ${karaf_data} is /opt/opendaylight/distribution-karaf-0.4.2-Beryllium-SR2/data, which may change depending upon the karaf version. -#################################################################################################################################################################### diff --git a/onap/sdnc/conf/org.ops4j.pax.logging.cfg b/onap/sdnc/conf/org.ops4j.pax.logging.cfg deleted file mode 100644 index 485b3fc..0000000 --- a/onap/sdnc/conf/org.ops4j.pax.logging.cfg +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. -# -################################################################################ - -# Root logger -log4j.rootLogger=INFO, async, osgi:* -log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer - -# Log Directory -logDir=/var/log/onap -componentName=sdnc -logDirectory=${logDir}/${componentName} -maxFileSize=100MB -maxBackupIndex=20 - -# CONSOLE appender not used by default -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd'T'HH:mm:ss.SSS}\t%-16.16t\t%-5.5p\t%c{36}\t%X{bundle.id} - %X{bundle.name} - %X{bundle.version}\t%m%n - -# Async appender forwarding to file appender -log4j.appender.async=org.apache.log4j.AsyncAppender -log4j.appender.async.appenders=out - -# File appender -log4j.appender.out=org.apache.log4j.RollingFileAppender -log4j.appender.out.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.out.layout.Properties=true -log4j.appender.out.file=${logDirectory}/karaf.log -log4j.appender.out.append=true -log4j.appender.out.maxFileSize=${maxFileSize} -log4j.appender.out.maxBackupIndex=${maxBackupIndex} - -# Sift appender -log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender -log4j.appender.sift.key=bundle.name -log4j.appender.sift.default=karaf -log4j.appender.sift.appender=org.apache.log4j.RollingFileAppender -log4j.appender.sift.appender.layout=org.apache.log4j.xml.XMLLayout -log4j.appender.sift.appender.layout.Properties=true -log4j.appender.sift.appender.file=${logDirectory}/$\\{bundle.name\\}.log -log4j.appender.sift.appender.append=true - diff --git a/onap/so/README.md b/onap/so/README.md deleted file mode 100644 index 13f41a1..0000000 --- a/onap/so/README.md +++ /dev/null @@ -1,52 +0,0 @@ -#################################################################################################################################################################### -## SO Logging Configuration -==================================================================================================================================================================== -SO has 2 docker containers with names - testlab_mso_1 and testlab_mariadb_1. -The canonical logging implementation is only done for the container, testlab_mso_1. -SO has 9 sub-modules and each module has its own logback.xml file. -Canonical logs will be generated at /var/log/onap/so/ -==================================================================================================================================================================== -## Instructions for deployment -==================================================================================================================================================================== -### SO logging deployment for sub-modules -------------------------------------------------------------------------------------------------------------------------------------------------------------------- - 1. Create the canonical path for log provider, /etc/onap/so/conf.d/, on the host VM. - 2. Copy the canonical logback.xmls listed below from 'so' directory (of gerrit) into the path created in step 1. - 2.1. logback.apihandler-infra.xml - 2.2. logback.appc.xml - 2.3. logback.asdc.xml - 2.4. logback.bpmn.xml - 2.5. logback.msorequestsdbadapter.xml - 2.6. logback.network.xml - 2.7. logback.sdnc.xml - 2.8. logback.tenant.xml - 2.9. logback.vnf.xml - 3. Create the canonical path for logs, /var/log/onap/so, on the host VM. - 4. Provide write permissions for "others" users for directory created in step 3. - 5. Volume-Mount: The so container requires two host paths mapped as volume in the container - 5.1. Log file path: - Host path - /var/log/onap/so/ mapped to - Container path - /var/log/onap/so/ - 5.2. Log provider file path has two mappings: - # The below container paths are where the provider files are kept initially - /etc/onap/so/conf.d/logback.apihandler-infra.xml : /var/berks-cookbooks/mso-config/files/default/mso-api-handler-infra-config/logback.apihandler-infra.xml - /etc/onap/so/conf.d/logback.network.xml : /var/berks-cookbooks/mso-config/files/default/mso-po-adapter-config/logback.network.xml - /etc/onap/so/conf.d/logback.tenant.xml : /var/berks-cookbooks/mso-config/files/default/mso-po-adapter-config/logback.tenant.xml - /etc/onap/so/conf.d/logback.vnf.xml : /var/berks-cookbooks/mso-config/files/default/mso-po-adapter-config/logback.vnf.xml - /etc/onap/so/conf.d/logback.appc.xml : /var/berks-cookbooks/mso-config/files/default/mso-appc-adapter-config/logback.appc.xml - /etc/onap/so/conf.d/logback.msorequestsdbadapter.xml : /var/berks-cookbooks/mso-config/files/default/mso-requests-db-adapter-config/logback.msorequestsdbadapter.xml - /etc/onap/so/conf.d/logback.asdc.xml : /var/berks-cookbooks/mso-config/files/default/mso-asdc-controller-config/logback.asdc.xml - /etc/onap/so/conf.d/logback.sdnc.xml : /var/berks-cookbooks/mso-config/files/default/mso-sdnc-adapter-config/logback.sdnc.xml - /etc/onap/so/conf.d/logback.bpmn.xml : /var/berks-cookbooks/mso-config/files/default/mso-bpmn-config/logback.bpmn.xml - - # The below container paths are where the provider files are copied to after the docker starts - /etc/onap/so/conf.d/logback.apihandler-infra.xml : /etc/mso/config.d/logback.apihandler-infra.xml - /etc/onap/so/conf.d/logback.network.xml : /etc/mso/config.d/logback.network.xml - /etc/onap/so/conf.d/logback.tenant.xml : /etc/mso/config.d/logback.tenant.xml - /etc/onap/so/conf.d/logback.vnf.xml : /etc/mso/config.d/logback.vnf.xml - /etc/onap/so/conf.d/logback.appc.xml : /etc/mso/config.d/logback.appc.xml - /etc/onap/so/conf.d/logback.msorequestsdbadapter.xml : /etc/mso/config.d/logback.msorequestsdbadapter.xml - /etc/onap/so/conf.d/logback.asdc.xml : /etc/mso/config.d/logback.asdc.xml - /etc/onap/so/conf.d/logback.sdnc.xml : /etc/mso/config.d/logback.sdnc.xml - /etc/onap/so/conf.d/logback.bpmn.xml : /etc/mso/config.d/logback.bpmn.xml -#################################################################################################################################################################### diff --git a/onap/so/conf/logback.apihandler-infra.xml b/onap/so/conf/logback.apihandler-infra.xml deleted file mode 100644 index 4278908..0000000 --- a/onap/so/conf/logback.apihandler-infra.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.appc.xml b/onap/so/conf/logback.appc.xml deleted file mode 100644 index 530926b..0000000 --- a/onap/so/conf/logback.appc.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.asdc.xml b/onap/so/conf/logback.asdc.xml deleted file mode 100644 index 4e4d3b7..0000000 --- a/onap/so/conf/logback.asdc.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.bpmn.xml b/onap/so/conf/logback.bpmn.xml deleted file mode 100644 index 676b812..0000000 --- a/onap/so/conf/logback.bpmn.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.msorequestsdbadapter.xml b/onap/so/conf/logback.msorequestsdbadapter.xml deleted file mode 100644 index 45a3990..0000000 --- a/onap/so/conf/logback.msorequestsdbadapter.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.network.xml b/onap/so/conf/logback.network.xml deleted file mode 100644 index 2cce930..0000000 --- a/onap/so/conf/logback.network.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.sdnc.xml b/onap/so/conf/logback.sdnc.xml deleted file mode 100644 index b68446c..0000000 --- a/onap/so/conf/logback.sdnc.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.tenant.xml b/onap/so/conf/logback.tenant.xml deleted file mode 100644 index d79171d..0000000 --- a/onap/so/conf/logback.tenant.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/so/conf/logback.vnf.xml b/onap/so/conf/logback.vnf.xml deleted file mode 100644 index 3440833..0000000 --- a/onap/so/conf/logback.vnf.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - INFO - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - true - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onap/vid/README.md b/onap/vid/README.md deleted file mode 100644 index 05c5a0a..0000000 --- a/onap/vid/README.md +++ /dev/null @@ -1,20 +0,0 @@ -############################################################################################################################################## -## VID logging configuration -===================================================================================== -VID has two docker containers - vid-server and vid-mariadb. -The canonical logging implementation is only done for the container, vid-server. -Canonical logs will be generated at /var/log/onap/vid/ -================================================================================================= -## Instructions for deployment -================================================================================================= - 1. Log provider file is available at the path, /tomcat/webapps/vid/WEB-INF/classes/, in the container - 2. Copy the canonical logback.xml from 'vid' directory (of gerrit) into the path mentioned in step 1. - 3. Create the canonical path, /var/log/onap/vid/, on the host VM. - 4. Provide write permissions for "others" user for directory created in step 3. - 5. Volume-Mount: The vid-server container requires one host path mapped as volume in the container - 5.1. Log file path: - Host path - /var/log/onap/vid/ mapped to - Container path - /var/log/onap/vid/ - 5.2. Log Provider file path: - Note: Log provider path cannot be configured externally as it is bundled inside a WAR. -############################################################################################################################################## diff --git a/onap/vid/conf/logback.xml b/onap/vid/conf/logback.xml deleted file mode 100644 index 3d78b8f..0000000 --- a/onap/vid/conf/logback.xml +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - ${pattern} - - - - - - - - ${logDirectory}/${generalLogName}.log - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - - ${queueSize} - true - - - - - - - - - - - - - ${logDirectory}/${auditLogName}.log - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${metricsLogName}.log - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${errorLogName}.log - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - ${logDirectory}/${debugLogName}.log - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log - - ${maxFileSize} - - ${maxHistory} - ${totalSizeCap} - - - ${pattern} - - - - ${queueSize} - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file -- 2.16.6