Logging options
DecisionRules has a simple and technology-independent logging system that logs simply to STDOUT. You can still process this standard output in all modern logging add-ons that you use in your infrastructure.
How to change logger type
The type of logger that is going to be chosen is decided by environment variable. This variable called LOGGER_TYPE
takes a string as a parameter with name of the logger you desire to use.
Types
JSON
This logger outputs data in JSON structure consisting of:
timestamp
severity
message
Resulting into following object:
STRING
Outputs data a string format that consist of:
timestamp
severity
message
Data are always in format [YYYY-MM-DDTHH:mm:ss.sssZ] <SEVERITY> MESSAGE
Note that the message does not necessarily need to end with \n
Example output for this logger is:
Last updated