You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2015/11/11 00:20:10 UTC
[jira] [Commented] (SOLR-8274) Add per-request MDC logging based on
user-provided value.
[ https://issues.apache.org/jira/browse/SOLR-8274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14999573#comment-14999573 ]
Jason Gerlowski commented on SOLR-8274:
---------------------------------------
To clarify, it'll obviously be tough/impossible to get this MDC context associated with *every* relevant log message (especially when we need to jump thread/process boundaries). But allowing some per-request grouping here (even if it's not comprehensive) would be a big boost IMO.
> Add per-request MDC logging based on user-provided value.
> ---------------------------------------------------------
>
> Key: SOLR-8274
> URL: https://issues.apache.org/jira/browse/SOLR-8274
> Project: Solr
> Issue Type: Improvement
> Reporter: Jason Gerlowski
> Priority: Minor
>
> *Problem 1* Currently, there's no way (AFAIK) to find all log messages associated with a particular request.
> *Problem 2* There's also no easy way for multi-tenant Solr setups to find all log messages associated with a particular customer/tenant.
> Both of these problems would be more manageable if Solr could be configured to record an MDC tag based on a header, or some other user provided value.
> This would allow admins to group together logs about a single request. If the same header value is repeated multiple times this functionality could also be used to group together arbitrary requests, such as those that come from a particular user, etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org