[jboss-jira] [JBoss JIRA] (LOGMGR-205) Add ability to watch a logging configuration file for changes and reconfigure the log manager based on the new configuation
James Perkins (Jira)
issues at jboss.org
Wed Oct 10 14:13:00 EDT 2018
[ https://issues.jboss.org/browse/LOGMGR-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646203#comment-13646203 ]
James Perkins commented on LOGMGR-205:
--------------------------------------
That's a good point. I was just using a fairly coupled {{java.nio.file.WatchService}}, but launching it from in a new thread. For logging it would be more difficult to use a shared thread pool because it's one of the first things, besides modules, configured. However if we come up with a real solution for LOGMGR-177 then that will be less of an issue.
> Add ability to watch a logging configuration file for changes and reconfigure the log manager based on the new configuation
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: LOGMGR-205
> URL: https://issues.jboss.org/browse/LOGMGR-205
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Major
>
> It could be useful to add a utility to watch a {{logging.properties}} file for changes and reconfigure the log manager based on these changes.
> As a test I've created an [example|https://gist.github.com/jamezp/68cd45982ba2b75aa2e95465695ec061] which could use some better options for removing no longer used configured objects.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list