Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #1451. The in_tail plugin tries to tail directories when th… #1464

Merged
merged 1 commit into from
Feb 14, 2017
Merged

Fix issue #1451. The in_tail plugin tries to tail directories when th… #1464

merged 1 commit into from
Feb 14, 2017

Conversation

angry-cellophane
Copy link
Contributor

Original issue: #1451.

Issue:
the in_tail plugin tries to tail directories when the /**/* file path is used.

Description:
There is a directory which contains subdirectories. These subdirectories can contain log files without extension. The goal is to let fluentd tail all files that it can find in the subdirectories.
The best way to do it is to set the path plugin parameter = /**/*, but the plugin doesn't distinguish files from directories and tries to tails directories that causes an io exception.

Fix description:
This fix includes removing all the directories from the list of file objects that fluentd finds according to the given path parameter.

@repeatedly repeatedly merged commit 3e3ff24 into fluent:master Feb 14, 2017
@repeatedly
Copy link
Member

Thanks!

repeatedly added a commit that referenced this pull request Mar 4, 2017
Fix issue #1451. The in_tail plugin tries to tail directories when th…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants