[JBoss JIRA] (LOGMGR-113) Create a better way to handle a TCP reconnect policy
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-113?page=com.atlassian.jira.plugin... ]
James Perkins updated LOGMGR-113:
---------------------------------
Fix Version/s: 2.1.0.Alpha4
(was: 2.1.0.Alpha3)
> Create a better way to handle a TCP reconnect policy
> ----------------------------------------------------
>
> Key: LOGMGR-113
> URL: https://issues.jboss.org/browse/LOGMGR-113
> Project: JBoss Log Manager
> Issue Type: Enhancement
> Reporter: James Perkins
> Fix For: 2.1.0.Alpha4
>
>
> The audit logger in WildFly uses it's own policy to reconnect a TCP connection for the {{SyslogHandler}}. The current {{org.jboss.logmanager.handlers.TcpOutputStream}} handles a reconnection on it's own unless a deprecated constructor is used. A way to set some kind of policy or enable the reconnection to be turned off should be added.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (LOGMGR-52) Add option to WriterHandler to collapse repeated messages
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-52?page=com.atlassian.jira.plugin.... ]
James Perkins updated LOGMGR-52:
--------------------------------
Fix Version/s: 2.1.0.Alpha4
(was: 2.1.0.Alpha3)
> Add option to WriterHandler to collapse repeated messages
> ---------------------------------------------------------
>
> Key: LOGMGR-52
> URL: https://issues.jboss.org/browse/LOGMGR-52
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Reporter: David Lloyd
> Assignee: David Lloyd
> Fix For: 2.1.0.Alpha4
>
>
> The WriterHandler could have a time interval configured wherein a repeated message would be collapsed.
> The last message would be stored in a field for comparison along with a nanoTime tag (the timestamp on the message is not adequate because the clock can have skew or be reset completely at any time). If the current message string equals the last message string, and collapsing is enabled, then instead of logging the message, a count is incremented. If the current message is not equal, then the stored message is logged with a tag indicating the number of repeats (i18n?) and then the next submitted message is logged.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months
[JBoss JIRA] (LOGMGR-131) Add format characters for module name, module version
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-131?page=com.atlassian.jira.plugin... ]
James Perkins updated LOGMGR-131:
---------------------------------
Fix Version/s: 2.1.0.Alpha4
(was: 2.1.0.Alpha3)
> Add format characters for module name, module version
> -----------------------------------------------------
>
> Key: LOGMGR-131
> URL: https://issues.jboss.org/browse/LOGMGR-131
> Project: JBoss Log Manager
> Issue Type: Sub-task
> Reporter: David Lloyd
> Fix For: 2.1.0.Alpha4
>
>
> In JDK9, StackTraceElements contain moduleName and moduleVersion fields. This information is useful for debugging purposes, thus format characters should be allocated towards these values. Ideally it'll be something non-conflicting with respect to log4j and other common ancestor/related frameworks, but that is less important than the basic support.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 3 months