[jboss-jira] [JBoss JIRA] (WFCORE-109) Update syslog handler attributes

James Perkins (Jira) issues at jboss.org
Mon Jul 8 14:06:00 EDT 2019


    [ https://issues.jboss.org/browse/WFCORE-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756895#comment-13756895 ] 

James Perkins commented on WFCORE-109:
--------------------------------------

Hi [~rornaz] Okay in that case I've got possible good news. In WildFly 17 WFCORE-4332 introduced a new {{named-formatter}} attribute so you can do that now. If you can't jump to WildFly 17 the following CLI command should work:
{code}
/subsystem=logging/custom-handler=syslog:add(module=org.jboss.logmanager, class=org.jboss.logmanager.handlers.SyslogHandler, properties={appName="my-app", syslogType="RFC5424", protocol="UDP"}, named-formatter=PATTERN)
{code}

> Update syslog handler attributes
> --------------------------------
>
>                 Key: WFCORE-109
>                 URL: https://issues.jboss.org/browse/WFCORE-109
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Logging
>            Reporter: James Perkins
>            Assignee: James Perkins
>            Priority: Major
>
> The syslog handler does not currently expose the formatter for formatting messages. There will also be changes in a future logmanager release for TCP support and various other properties based on the new TCP support.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list