[jboss-jira] [JBoss JIRA] (LOGMGR-120) Thread local log level overriding

John Mezzetta (JIRA) issues at jboss.org
Fri Apr 10 12:03:19 EDT 2015


     [ https://issues.jboss.org/browse/LOGMGR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Mezzetta updated LOGMGR-120:
---------------------------------

Hi David,

Is it possible to remove the public thread in Jira? We have an Non-disclosure agreement with Red hat and the open source thread should not have been used to have this dialog.

And I hope it is ok to discuss this via e-mail. We can also move the discussion to a Customer Portal support case if you like.

I am not sure what you mean by a filter, but if you are talking about typical logging filters, they tend to do further narrowing of output log messages. In other words, after the level check (ie. Only show INFO and above), there could be a filter that takes the INFO and above messages and only allow the ones with the word “joe” through (for example). Force logging is a bit different. Instead of narrowing scope like a traditional filter, it widens scope. So in our example, all INFO messages would be let through, and any messages from any level (FINEST and above) containing the word “joe” (for example) would also be let through.

Does this make sense? Am I understanding the term filter properly?

Thanks,
John

From: David Lloyd (JIRA) [mailto:issues at jboss.org]
Sent: Friday, April 10, 2015 10:35 AM
To: John Mezzetta
Subject: [JBoss JIRA] (LOGMGR-120) Thread local log level overriding

[https://static.jboss.org/developer/gravatar/a9e35a1be800d158663cd340ac4d14cb?d=mm&s=48]

David Lloyd<https://issues.jboss.org/secure/ViewProfile.jspa?name=dmlloyd> commented on [Feature Request] LOGMGR-120<https://issues.jboss.org/browse/LOGMGR-120>




Re: Thread local log level overriding<https://issues.jboss.org/browse/LOGMGR-120>



It sounds like what you're describing is more along the lines of consulting a Filter (instead of doing a level check) to determine if a message is logged during certain operations. Would you say that is an accurate assessment?


[Add Comment]<https://issues.jboss.org/browse/LOGMGR-120#add-comment>

Add Comment<https://issues.jboss.org/browse/LOGMGR-120#add-comment>






This message was sent by Atlassian JIRA (v6.3.11#6341-sha1:83c4d29)

[Atlassian logo]






> Thread local log level overriding
> ---------------------------------
>
>                 Key: LOGMGR-120
>                 URL: https://issues.jboss.org/browse/LOGMGR-120
>             Project: JBoss Log Manager
>          Issue Type: Feature Request
>          Components: core
>    Affects Versions: 1.5.2.Final
>            Reporter: Matthew Robson
>            Assignee: James Perkins
>         Attachments: force_logging.patch
>
>
> Having the ability to force logs down to a filter no matter what the log level is set to.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jboss-jira mailing list