From dc299ed815e4e92e178f9fd6ae19f8cd50ad0647 Mon Sep 17 00:00:00 2001 From: Marcus G K Williams Date: Thu, 14 Sep 2017 15:15:45 -0700 Subject: Add Graph/Node to org.ops4j.pax.logging.cfg This change adds org.ops4j.pax.logging.cfg file that contains standard ODL logging config with added sections for 'Directed Graph Node Id appender' and 'Directed Graph Name appender'. Addition of these sections should allow current Graph and Node Id to be appended to karaf log using MDC. Issue-Id: CCSDK-71 Change-Id: Id62ba038fbe6bb51e2c58f6a415a860cfa11dd89 Signed-off-by: Marcus G K Williams --- odlsli/src/main/docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'odlsli/src/main/docker') diff --git a/odlsli/src/main/docker/Dockerfile b/odlsli/src/main/docker/Dockerfile index b2a00f91..74dd5143 100644 --- a/odlsli/src/main/docker/Dockerfile +++ b/odlsli/src/main/docker/Dockerfile @@ -11,5 +11,7 @@ COPY idmlight.db.mv.db /opt/opendaylight/current # copy deliverables to opt COPY opt /opt +COPY org.ops4j.pax.logging.cfg /opt/opendaylight/current/etc/org.ops4j.pax.logging.cfg + # ENTRYPOINT exec /opt/opendaylight/current/bin/karaf EXPOSE 8181 -- cgit 1.2.3-korg