[jboss-jira] [JBoss JIRA] (WFCORE-3407) Logging deployments that contain a logging configuration file do not clear the log context
James Perkins (JIRA)
issues at jboss.org
Mon Nov 6 13:22:00 EST 2017
[ https://issues.jboss.org/browse/WFCORE-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins updated WFCORE-3407:
----------------------------------
Summary: Logging deployments that contain a logging configuration file do not clear the log context (was: Per-logging deployments do not clear the log context)
> Logging deployments that contain a logging configuration file do not clear the log context
> ------------------------------------------------------------------------------------------
>
> Key: WFCORE-3407
> URL: https://issues.jboss.org/browse/WFCORE-3407
> Project: WildFly Core
> Issue Type: Bug
> Components: Logging
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Minor
>
> When a deployment that contains it's own logging configuration is undeployed the {{LogContext}} used for the deployment is not completely cleared. A GC cycle will end up doing this, but there is potential for issues, mainly on Windows, if a file handler is used during a redeploy. The file could be in-use by the old context.
> During undeploy we should probably get the {{LogContextConfiguration}} and remove all the loggers, handlers, formatters and error managers.
> Note that the only place I've seen this be an actual issue is in the test suite on Windows when a file handler is used and after the test is complete there is an attempt to delete the file.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list