From c26f745dd21c33f0fe6932643bdb37678b724dd8 Mon Sep 17 00:00:00 2001 From: Vidya Shinde Date: Fri, 11 Aug 2017 16:58:37 +0530 Subject: [LOG] Add canonicalization for DCAE logs Canonicalization of path for log provider configuration file and log files Change-Id: I4ac90a3ce8206a9cf1b77a4531e33a47ad28f9b7 Issue-ID: LOG-28 Signed-off-by: Vidya Shinde --- onap/dcae/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 onap/dcae/README.md (limited to 'onap/dcae/README.md') diff --git a/onap/dcae/README.md b/onap/dcae/README.md new file mode 100644 index 0000000..a403e90 --- /dev/null +++ b/onap/dcae/README.md @@ -0,0 +1,21 @@ +#################################################################################################################################################################### +## 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 +#################################################################################################################################################################### -- cgit 1.2.3-korg