Fine-grained logging for PartitionFlow owned classes - #769
Conversation
|
|
||
| val acquire = Resource.eval { | ||
| for { | ||
| log <- logOf(classOf[TimerFlowOf[F]]).map(_.withMdc(Mdc.Eager("key" -> context.key))) |
There was a problem hiding this comment.
how will this look in logs, could you give me an example please?
There was a problem hiding this comment.
Based on a pattern used for the appender it's something like:
INFO [io-compute-3][c.e.k.f.t.TimerFlowOf] [key=7ze4zp5t3ru61ff70a9] - Something happened
Of course we may use prefixed instead of withMdc as it was before.
|
@fillson-shady shall we come back to this? I looked through this and I have no comments except for mentioning that a new major release will be in order since |
2fd5b4d to
8ca7aa9
Compare
…y in KeyContext, add topic-partition to MDC
8ca7aa9 to
1ec3a40
Compare
|
Hi @Z1kkurat, thank you for the remainder!
As for the version - it's not a part of the codebase, right? We'll just create a tag |
|
@Z1kkurat please release new version |
No description provided.