Sorry for the noise.... I've been running our (inhouse) docker images, with the variable ZKSRING instead of ZKSTRING for two days now. Well, that was a complete waste of everybodys time.
Yes, everything is as expected in the JSON log. The hint, to locate my mistake, was much appreciated. \Morten ________________________________ From: Chris Hostetter <hossman_luc...@fucit.org> Sent: Monday, April 8, 2024 20:27 To: users@solr.apache.org <users@solr.apache.org> Subject: Re: JSON logging and collection/shard/replica [You don't often get email from hossman_luc...@fucit.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] If you are getting any values from the MDC resolver, then you have the MDC resolver configured correctly. You're only going to get MDC values like collection/shard/replica if those are defined for the thread that logged the message you are looking at. In the specific example you posted... : {"core":"corepo","rid":"null-5","trace_id":"null-5"} ...thta "core" name does not look like a a core name that solr would have created in solr cloud mode -- it looks like maybe you are just running a trivial example solr instance where you manually created a core? ... in which case there is no collection/shard/replica data to include in the MDC for that request. -Hoss http://www.lucidworks.com/