enable log4j logging to elasticstack within onos
sucess on retrigger: https://jenkins.opencord.org/job/xos-api-sanity-pipeline/63/console

Change-Id: Ie855cc2ae69c684846c30bdd2f922c80d6a0f7f5
diff --git a/roles/onos-cord-install/templates/Dockerfile.j2 b/roles/onos-cord-install/templates/Dockerfile.j2
index e79f87b..263767f 100644
--- a/roles/onos-cord-install/templates/Dockerfile.j2
+++ b/roles/onos-cord-install/templates/Dockerfile.j2
@@ -24,3 +24,6 @@
 COPY onos-service /root/onos/bin/onos-service
 RUN chmod 755 /root/onos/bin/onos-service
 
+# Configure ONOS to log with log4j to ElasticStack
+COPY org.ops4j.pax.logging.cfg /root/onos/apache-karaf-3.0.5/etc/org.ops4j.pax.logging.cfg
+