Skip to content

Add structured Logging #296

@neildsouth

Description

@neildsouth

Workflow manager needs structured logging adding

serilog is a good choice

the API should use action filters to log at the start and end of each request including a generated correlationId (if one isnt in the header)
Start Action filter To log
start time
Http Type (GET)
path
query string
body
version
environment

End Action filter To log
duration
Http Type (GET)
path
query string
body
version
environment
result body
result HttpCode

Also similar should be implemented for Message received and message Ack.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions