kmtong / logback-redis-appender

Logback Redis Appender
Apache License 2.0
114 stars 64 forks source link

Support for MDC lookup in tags #8

Closed prakashbalaji closed 9 years ago

prakashbalaji commented 9 years ago

Hello,

We are exploring to see if we could use logback-redis-appender to collect logs from 20+ micro services to single location. Most of the feature we need are already baked in but were wondering if there was support to lookup tags from MDC property map. For example -

<tags>
      ${request_id}
</tags>

Where request_id is set in the MDC map. We need the value of request_id to be added to the json tags field.

Thanks

kmtong commented 9 years ago

This is an interesting idea. I would look into it.

kmtong commented 9 years ago

Released 1.1.1

prakashbalaji commented 9 years ago

Thank you for the quick turn around...much appreciated. On Feb 16, 2015 5:01 PM, "KM Tong" notifications@github.com wrote:

Released 1.1.1

— Reply to this email directly or view it on GitHub https://github.com/kmtong/logback-redis-appender/issues/8#issuecomment-74494947 .