2

So i've been searching for the best way of concatenate n (log) files in node.js The final file cannot be more than 100MB, if there is more, i should create an other one and so on.

I have some different approaches:

I wonder if you could throw me some of your experience here and also this question could be useful for someone in the future.

Cheers!

4

1 回答 1

0

grunt-contrib-concat和buildify旨在将 JS 源文件连接到一个包中,因此它们不适合您的任务。

我建议改用logrotate-stream之类的东西。

于 2015-06-08T12:14:57.493 回答