Expunge sensitive hostnames and IPs
[logging-analytics.git] / reference / logging-slf4j-demo / README.md
1 # README - slf4j-reference
2
3 This project gives an example of ONAP-compliant logging using SLF4J logging.
4
5 Building produces a simple (spring-boot](https://projects.spring.io/spring-boot/) example WAR, which can be launched from this directory with:
6
7 ```bash
8 $ java -war target/*war
9 ```
10
11 The WAR publishes four web services:
12 1. ```services/alpha```
13 2. ```services/beta```
14 3. ```services/gamma```
15 4. ```services/delta```
16
17 ... each of which can invoke the others.
18
19 The purpose of this WAR is to demonstrate minimalist ONAP-compliant logging for web components, but a secondary purpose is to demonstrate that the call graph can be generated for a (mostly) representative set of interacting REST services.
20
21 ## Tests
22
23 Tests for verifying that emitted logs can be used to generate an unambiguous call graph.
24
25 Note that these run in-process, despite the WAR packaging. The intent is to enable tests via HTTP transports.