You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/03/29 18:24:27 UTC
[jira] Commented: (CHUKWA-454) DirTailingAdaptor Add option to
Filter files.
[ https://issues.apache.org/jira/browse/CHUKWA-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850971#action_12850971 ]
Hudson commented on CHUKWA-454:
-------------------------------
Integrated in Chukwa-trunk #330 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/])
> DirTailingAdaptor Add option to Filter files.
> ---------------------------------------------
>
> Key: CHUKWA-454
> URL: https://issues.apache.org/jira/browse/CHUKWA-454
> Project: Hadoop Chukwa
> Issue Type: New Feature
> Components: data collection
> Affects Versions: 0.4.0
> Reporter: Gerrit Jansen van Vuuren
> Priority: Minor
> Fix For: 0.4.0
>
> Attachments: CHUKWA-454-v0.1.patch
>
>
> I would like to be able to point the DirTailingAdaptor at a directory but only have it tail files matching to a certain pattern.
> So I've made a change that allows the adaptor to recieve an optional filter parameter and use the org.apache.commons.io.filefilter.WildcardFileFilter class to filter out files.
> This allows you to for example point the adaptor at a tomcat log directory and not have it tail catalina.out logs etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.