[squeak-dev] unix log viewing technique that doesn't make colossal files?

tim Rowledge tim at rowledge.org
Sat Dec 10 01:03:36 UTC 2022


I spent way too long failing to find the right search phrase, so maybe somebody here knows sometihng to get me started.

My server system is writing a *lot* of output to a file via the Toothpick package's FileLogger class. I mean, like a GB/hr. I can turn it down but then I don't see the stuff that explains why it went boom. Evidently naively writing to a file and watching it with `tail -f` isn't the best idea here but all I'm spotting on the google is lots of  'use logrotate' stuff that doesn't seem to be applicable at all.

Is there some technique I can use that lets me write out stuff and watch it without it filling up my little SSD? Some way to specify a file that has a maximum size and that dumps the older stuff as more is added? Some program I can pipe data to that keeps a limited set of messages?

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Calls people to ask them their phone number.




More information about the Squeak-dev mailing list