Merge "log RI kubernetes and docker devops"
[logging-analytics.git] / onap / dcae / README.md
1 ####################################################################################################################################################################
2 ## DCAE Logging Configuration
3 ====================================================================================================================================================================
4 DCAE has one docker container - dcaestartupvmcontroller_dcae-controller_1.
5 Canonical logs will be generated at /var/log/onap/dcae/
6 ====================================================================================================================================================================
7 ## Instructions for deployment
8 ====================================================================================================================================================================
9     1. Log provider file is available at the path, /etc/onap/dcae/conf.d/, on the host VM.
10   2. Copy the canonical 'log4j.properties' from 'dcae' directory (of gerrit) into the path created in step 1.
11   3. Create the canonical path for logs, /var/log/onap/dcae, on the host VM.
12   4. Provide write permissions for "others" users for directory created in step 3.
13   5. Volume-Mount: The dcae container requires two host paths mapped as volume in the container
14         
15           5.1. Log file path:
16              Host path -      /var/log/onap/dcae/ mapped to 
17         Container path - /var/log/onap/dcae/      
18       5.2. Log provider file path: 
19           Host Path         : /etc/onap/dcae/conf.d/log4j.properties mapped to
20                 Container path    : /opt/app/dcae-controller-platform-server/config/log4j.properties
21 ####################################################################################################################################################################