Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Added additional fields and externalized the parameters #43

Open
wants to merge 1 commit into
base: mule-4.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,37 @@ PS2. For EU Control Plane deployment you have to modify the `<distributionManage

## Release notes [HERE](https://github.com/mulesoft-consulting/json-logger/blob/mule-4.x/json-logger/README.md)

## Dependencies
with latest changes to add additional fields and making them externalized, you need to add Global element properties file, for example :
properties/json-logger.yaml (sample values are provided below)

### JSON Logger configuration

#### Indicate which fields should not be logged (it can take values content and message and needs to be comma separated)
#### Specifies data to be masked in log output. Populate as necessary. Example: $..firstName,$..lastName

json-logger:
disabled-fields: ""
data-to-mask: ""
orgName : SFCC
application:
version : 1.1.11
name : SALESFORCE_SYS_API
cloudhub:
environment : DEV1
entity: JOB_ORDER
entityId: JO_ID_18990
businessEvent: JO FILLED
sourceSystem: SALESFORCE
targetSystem: WORKDAY
retryCounter: "0"
errorSeverity: MAJOR
processName: RAW_QUEUE_VALIDATION
errorType: ErrorType_Dynamic
errorMessage: ErrorMessage_Dynamic
clientId: clientId_process_api_980
category: com.json-logger.SALESFORCE_SYS_API.RAW_QUEUE_VALIDATION

## Author

* **Andres Ramirez** [Slack: @andres.ramirez / Email: [email protected]]
Expand Down