mingrammer / flog

:tophat: A fake log generator for common log formats
MIT License
1.12k stars 135 forks source link

When logging to file flog doesn't stop after n lines #42

Open tanvp112 opened 3 years ago

tanvp112 commented 3 years ago

Hi, the log doesn't stop generating after n lines when logging to file:

docker run -it -v ${PWD}/log:/log --rm mingrammer/flog -t log -w -o /log/apache.log -b 10485760 -p 1048576 -n 10 -d 1s

Is there a way to stop at n lines when logging to file?

Thanks.