diff options
author | Vidya Shinde <vidya.shinde@amdocs.com> | 2017-08-11 18:30:33 +0530 |
---|---|---|
committer | Vidya Shinde <vidya.shinde@amdocs.com> | 2017-08-22 12:43:52 +0530 |
commit | fac6eb7804f27de6a0b7a3e52ee1d02e928ddc75 (patch) | |
tree | 913788f7297cd3825012f9596089e114a57cdabc /onap/sdnc/README.md | |
parent | 5fa2cb4a4ebf2cf33727049fa942ebf7fd6f6bd4 (diff) |
[LOG] Add canonicalization for SDNC logs
Canonicalization of path for log provider configuration file and log files
Change-Id: I87eba94a3026f53a64d044ea1a59da034930dace
Issue-ID: LOG-23
Signed-off-by: Vidya Shinde <vidya.shinde@amdocs.com>
Diffstat (limited to 'onap/sdnc/README.md')
-rw-r--r-- | onap/sdnc/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/onap/sdnc/README.md b/onap/sdnc/README.md new file mode 100644 index 0000000..a8d00a9 --- /dev/null +++ b/onap/sdnc/README.md @@ -0,0 +1,23 @@ +#################################################################################################################################################################### +## 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. +#################################################################################################################################################################### |