On Mon, Nov 15, 2010 at 7:36 AM, Deshpande, Deepak
<[email protected]> wrote:
> I have 2 enhancement requests for DirTailingAdaptor.
>
>
>
> 1.      Instead of using WildcardFileFilter can we use RegexFileFilter?
> The WildcardFileFilter is NOT that restrictive and might monitor file
> that are NOT required. By having RegexFileFilter we can restrict the
> file selection and will give user very well control of files that need
> to be monitored.

+1

>
> 2.      If FileTailingAdaptor is passed as the argument to the
> DirTailingAdaptor, then DirTailingAdaptor starts FileTailingAdaptor for
> all files present in the directory being monitored. This might not work
> for users who want to monitor only new files or files that were created
> recently. I have created an adaptor that extends DirTailingAdaptor, it
> reads global configuration entry and starts FileTailingAdaptor only for
> those files that have last modified time stamp greater than the global
> configuration entry and for new files.
>

+1, and in addition, how about global config also for timestamp
greater than current time?

Reply via email to