SAP / cf-java-logging-support

The Java Logging Support for Cloud Foundry supports the creation of structured log messages and the collection of request metrics
Apache License 2.0
77 stars 48 forks source link

Migrate Custom Fields JSON Serialization #67

Closed KarstenSchnitter closed 4 years ago

KarstenSchnitter commented 4 years ago

The JSON format for log messages was changed. Custom Fields to be indexed by SAP CloudPlatform CloudFoundry need to be provided in a different schema. This PR provides the implementation of the new schema. The Java interface remains compatible to the current API. There is an additional requirement to the configuration: CustomFields provided as parameters to log functions need to be declared in the configuration file in the same way that MDC fields needed to be declared.