You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2015/10/14 07:06:05 UTC
[jira] [Resolved] (LOG4J2-1031) Use Java 7's Watchservice to
monitor configuration files and file rollover.
[ https://issues.apache.org/jira/browse/LOG4J2-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers resolved LOG4J2-1031.
---------------------------------
Resolution: Won't Fix
I tried doing this when implementing script support. The result was less than satisfactory. I am closing this issue.
> Use Java 7's Watchservice to monitor configuration files and file rollover.
> ---------------------------------------------------------------------------
>
> Key: LOG4J2-1031
> URL: https://issues.apache.org/jira/browse/LOG4J2-1031
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Affects Versions: 2.3
> Reporter: Ralph Goers
> Assignee: Ralph Goers
>
> Now that Log4j requires Java 7 we can begin to take advantage of more of its features. One of these is the WatchService -http://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html. This could be used for monitoring changes to the configuration file(s) and by the RollingFileAppender.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org