[
https://issues.jboss.org/browse/LOGMGR-120?page=com.atlassian.jira.plugin...
]
James Perkins commented on LOGMGR-120:
--------------------------------------
To use this feature set the {{org.jboss.logmanager.useThreadLocalFilter}} system property
to {{true}}. In WildFly this would need to be done in the {{standalone.conf(.bat)}} by
adding {{-Dorg.jboss.logmanager.useThreadLocalFilter=true}} to the {{JAVA_OPTS}}.
Then use {{LogManager.setThreadLocalLogLevel(Filter)}} to set the filter for the thread.
To remove the filter pass {{null}} to the setter.
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)