You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Heiko Tappe (JIRA)" <ji...@apache.org> on 2017/04/20 13:06:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15976650#comment-15976650 ] 

Heiko Tappe commented on LOG4J2-1031:
-------------------------------------

I am curious: What exactly was less than satisfactory?
I'd love to see this feature for config files.

-- Heiko

> 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)