Logging Casablanca M3 Architecture Review

Presenting 14 Aug 2018

Our development plan for Casablanca - Logging Casablanca Scope

Goal

Help teams implement (with optional all/partial/full compliance) - the new MDC and MARKER spec as quickly as possible using a selection of optional/verified libraries and an RI.

Collaboration

Acumos requirements/shadowing of our logging spec is driving part of our scope for casablanca since a large portion of the team is on both projects

Working with oom, portal (portal drives onap and acumos), clamp, sdc, aai with vid and policy in the queue.

Demo

5 min involving the fake logdemonode deployment that exercises all elements of the jar/war/docker/helm/filebeat/elk stack - https://git.onap.org/logging-analytics/tree/reference/logging-kubernetes

follow Logging Developer Guide#Deployingdemopod





Specification Changes since Beijing

The specification has been adjusted over an 8 week period starting late Beijing and into the Casablanca release via a team composed of @Luke Parker and @Michael O'Brien from ONAP and @Shishir Thakore, Sanjay, @Lorraine A. Welch@Spondon Dey, @jh245g@att.com,  Anthony Manuel, Horace Ip, from Acumos/ONAP and @Chris Lott, @Bryan Sullivan of Acumos and @Dave Williamson from AT&T

ONAP Application Logging Specification v1.2 (Casablanca)#MappedDiagnosticContextTable

diff ONAP Application Logging Specification v1.2 (Casablanca)

API changes since Beijing

None except for the optional logging libraries below via pom.xml inclusion Logging Developer Guide#pom.xml

Implementation/RI changes since Beijing

A POC library has been introduced around SLF4J that is consumable by Java, Cloujure and Scala containers. 

LOG-115: Logging RI - SLF4JClosed

LOG-135: Logging RI: Code example microservice war with a minimal REST API using the logging libraryClosed

There is a POC AOP (aspect oriented) wrapper library in progress to simplify MARKER adoption.

Logging Developer Guide via https://git.onap.org/logging-analytics/tree/reference/logging-slf4j and https://git.onap.org/logging-analytics/tree/reference/logging-library

We are actively implementing a 3rd RI using the existing portal/sdk EELF logger that is used by several components in ONAP already.

https://git.onap.org/portal/sdk/tree/ecomp-sdk/epsdk-core/src/main/java/org/onap/portalsdk/core/logging