[ 
https://issues.apache.org/jira/browse/LOG4J2-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980472#comment-15980472
 ] 

Matt Sicker commented on LOG4J2-1031:
-------------------------------------

The feature already exists for configuration files. This feature proposal was 
to use the new API from Java 7, but there are performance issues on different 
platforms from what I recall. I wonder if that was ever fixed?

> 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.15#6346)

Reply via email to