From 9379dc6c5bd516a7601a179603de1aeefc5140ec Mon Sep 17 00:00:00 2001 From: jbalasub Date: Mon, 29 Jan 2018 22:18:51 +0200 Subject: Removing the ONAP directory Issue-ID: LOG-143 Change-Id: I7b0231a39d003f651270df6d5badc5093fe32d82 Signed-off-by: jbalasub --- onap/portal/README.md | 39 ----- onap/portal/portal-be/conf/logback.xml | 244 -------------------------- onap/portal/portal-db/conf/logback.xml | 306 --------------------------------- 3 files changed, 589 deletions(-) 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 (limited to 'onap/portal') 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} - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit 1.2.3-korg