You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change option name --follow_inodes to --follow-inodes
It would be more natural using '-' for the word separator as
command line.
Note: OptionParser can accept --follow_inodes as well.
Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com>
You can change the minimum ratio of collection of each target log file by specify `--ratio DECIMAL`.
@@ -287,13 +287,13 @@ Especially, if the `in_tail` uses [follow_inodes](https://docs.fluentd.org/input
287
287
288
288
`tailcheck` checks the sizes of logfiles based on the paths recorded in the pos files (except already unwatched pos entries).
289
289
290
-
However, if using `--follow_inodes`, there is a restriction on which files can be checked.
291
-
If using `--follow_inodes`, it is possible that `tailcheck` can not check the already rotated logfiles even if they are recorded in the pos files and are not unwatched yet.
290
+
However, if using `--follow-inodes`, there is a restriction on which files can be checked.
291
+
If using `--follow-inodes`, it is possible that `tailcheck` can not check the already rotated logfiles even if they are recorded in the pos files and are not unwatched yet.
292
292
Since the path recorded in the pos file is not updated after log rotation, the current path and inode may differ.
293
293
`tailcheck` checks only log files whose path and inode in the pos file match.
294
294
At least, it can check the current log files.
295
295
296
-
If not using `--follow_inodes`, this limitation does not exist.
296
+
If not using `--follow-inodes`, this limitation does not exist.
0 commit comments