flume-ng-extends-source icon indicating copy to clipboard operation
flume-ng-extends-source copied to clipboard

如果日志文件名中没有日期需要改动哪些地方

Open gojuukaze opened this issue 8 years ago • 1 comments

我的日志是当天的没有日期,如:access.log,第二天把前一天的日志加上日期重命名access.log-2016-10-13,然后新建一个新的access.log。

这样要实时收集access.log可以直接用你的代码吗?不行的话需要在代码中改动哪些地方?

gojuukaze avatar Oct 13 '16 08:10 gojuukaze

这个改动会比较大

建议:你详细读一下 README, 理解一下逻辑,其实思路很清晰,然后,可以尝试改一下。

ningg avatar Oct 13 '16 12:10 ningg