aboutsummaryrefslogtreecommitdiffstats
path: root/onap/dcae/README.md
diff options
context:
space:
mode:
authorVidya Shinde <vidya.shinde@amdocs.com>2017-08-11 16:58:37 +0530
committerVidya Shinde <vidya.shinde@amdocs.com>2017-08-11 16:58:37 +0530
commitc26f745dd21c33f0fe6932643bdb37678b724dd8 (patch)
treea362c38a2bec68c3c67ec9a1cad19d576731f254 /onap/dcae/README.md
parentb2e0e8554c4f0351ca9217222ec633b50eb04819 (diff)
[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 <vidya.shinde@amdocs.com>
Diffstat (limited to 'onap/dcae/README.md')
-rw-r--r--onap/dcae/README.md21
1 files changed, 21 insertions, 0 deletions
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
+####################################################################################################################################################################