[jboss-jira] [JBoss JIRA] (WFCORE-4333) async-handler not working / logging.properties incompletely updated

James Perkins (Jira) issues at jboss.org
Fri Feb 15 17:44:00 EST 2019


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

James Perkins commented on WFCORE-4333:
---------------------------------------

It does look like this a bug. However if you use CLI or the management console this issue won't be seen.

Example CLI:
{code}
/subsystem=logging/async-handler=async:add(queue-length=512, overflow-action=BLOCK, subhandlers=[FILE])
/subsystem=logging/root-logger=ROOT:remove-handler(name=FILE)
/subsystem=logging/root-logger=ROOT:add-handler(name=async)
{code}

> async-handler not working / logging.properties incompletely updated
> -------------------------------------------------------------------
>
>                 Key: WFCORE-4333
>                 URL: https://issues.jboss.org/browse/WFCORE-4333
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.0.10.Final
>            Reporter: Marco Schulze
>            Assignee: James Perkins
>            Priority: Major
>
> The {{logging.properties}} file which is generated from the {{standalone.xml}} is not correctly updated. When switching to asynchronous logging by renaming the {{"FILE"}} handler to {{"FILE.sync"}} and then introducing an {{async-handler}} named {{"FILE"}} referencing {{"FILE.sync"}} in its {{subhandlers}}, the {{logging.properties}} then lacks the following line:
> {quote}handler.FILE.handlers=FILE.sync{quote}
> I tested this with WildFly 10 and 11, but this bug might affect more (and newer) versions.



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


More information about the jboss-jira mailing list