Skip to content

Commit

Permalink
in_tail: Add note for wildcard issue on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Masahiro Nakagawa <[email protected]>
  • Loading branch information
repeatedly committed Jan 25, 2019
1 parent b3e5fef commit c206eb4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/v1.0/in_tail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,12 @@ in_tail stops reading new lines and pos file update until BufferOverflowError is
### in_tail is sometimes stopped when monitor lots of files. How to avoid it?

Try to set `enable_stat_watcher false` in `in_tail` setting. We got several reports in_tail is stopped when use `*` included `path`, and the problem is resolved by disabling inotify events.

### Wildcard pattern in path doesn't work on Windows, why?

Backslash(`\`) with `*` doesn't work on Windows by internal limitation. To avoid this problm, use slash style instead.

# good
path C:/path/to/*/foo.log
# bad
path C:\\path\\to\\*\\foo.log

0 comments on commit c206eb4

Please sign in to comment.