stav / kingbot

Deno CLI trading robot
https://stav.github.io/kingbot/
2 stars 0 forks source link

Log file rotation #15

Closed stav closed 2 years ago

stav commented 2 years ago

https://deno.land/std@0.132.0/log#rotatingfilehandler

stav commented 2 years ago

Currently using:

truncate -s0 logs/kingmsg.log
stav commented 2 years ago
grep -vFf gfilter kingmsg2.log > kingmsg3.log
stav commented 2 years ago

Closed with 429c50a6d467306f66bc539abe91b57eb87b618e